ZIm/crates/multi_buffer/src
Ben Kunkle fbbc23bec3
editor: Restore selections to positions after last edit (#28527)
Closes #22692

Makes it so when undoing a format operation, the selections are set to
where they were at the last edit.

Release Notes:

- Made it so the cursor position is reset to where it was after the last
edit when undoing a format operation. This will only result in different
behavior when you make an edit, scroll away, initiate formatting (either
by saving or manually) and then undo the format.

---------

Co-authored-by: Zed AI <ai@zed.dev>
2025-04-10 18:33:49 +00:00
..
anchor.rs Introduce "Near" block type (#28032) 2025-04-04 17:37:42 -06:00
multi_buffer.rs editor: Restore selections to positions after last edit (#28527) 2025-04-10 18:33:49 +00:00
multi_buffer_tests.rs Fix panic when a file in a path-based multibuffer excerpt is renamed (#28364) 2025-04-08 22:01:40 +00:00
position.rs Rework diff rendering to allow putting the cursor into deleted text, soft-wrapping and scrolling deleted text correctly (#22994) 2025-01-24 14:18:22 -07:00