zed/crates/editor/src/display_map
Antonio Scandurra c0bf4a5bfd Bump FoldSnapshot version if excerpt gets edited outside of its bounds
This will cause layers above `FoldMap` to grab a fresh snapshot of the `FoldMap`
and, as a result, of the underlying `MultiBufferSnapshot`. It is a necessary change
because, even though the coordinate space is not affected, a buffer edit taking place
*before* an excerpt range could cause the excerpt buffer rows to change, e.g. if
lines were added or removed. This manifested itself in a randomized test.
2022-05-18 10:13:18 +02:00
..
block_map.rs Consolidate edit and edit_batched functions 2022-04-28 16:52:04 -07:00
fold_map.rs Bump FoldSnapshot version if excerpt gets edited outside of its bounds 2022-05-18 10:13:18 +02:00
tab_map.rs Introduce TabMap::line_len 2022-04-14 12:55:33 +02:00
wrap_map.rs Fix warning 2022-04-14 13:03:46 +02:00