Files
zed/crates
Oleksiy Syvokon 88fc689cfe Fix crash in manipulate_text on multibuffers (#57165)
In `Editor::manipulate_text`, we computed selection boundaries for the
updated text assuming the requested edit would be applied exactly. This
is not always true. As a result, we could produce an invalid selection
range and panic.

This change replaces manual selection boundary computation with anchors.
It also skips edits when `new_text == old_text`.

Closes FR-10.

Release Notes:

- N/A
2026-05-19 17:04:29 +00:00
..
2026-05-04 06:30:47 +00:00
2026-04-29 10:27:47 +00:00
2026-04-29 10:27:47 +00:00
2026-05-04 06:30:47 +00:00
2026-05-15 21:34:20 +00:00
2026-04-29 10:27:47 +00:00
2026-05-18 17:15:04 +00:00
2026-04-29 10:27:47 +00:00
2026-05-07 09:56:04 +00:00