mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
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 |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||