zed/crates/editor
Max Brunsfeld f898dc6dae Guard against inverted ranges when building edits in unfold
The multibuffer lets you refer to offsets inside of headers,
so it's possible to create a fold that appears non-empty,
but which spans zero characters in the underlying buffers.

Fold ranges are biased inward: the start is biased right, and
the end is biased left.

Because of these two things, it's possible to create a fold
that becomes "inverted" when you insert text at that position.
2021-12-15 17:29:15 -08:00
..
src Guard against inverted ranges when building edits in unfold 2021-12-15 17:29:15 -08:00
Cargo.toml Get selections rendering again when local selections are owned by Editor 2021-12-11 13:42:46 -07:00