History

Autoscroll when running `editor: swap selection ends` (#23575)

Closes https://github.com/zed-industries/zed/issues/23512 Release Notes: - Improved `editor: swap selection ends` by always scrolling the cursor into view

Joseph T. Lyons committed 1 year ago

Commit 06f0f071 parent d8c9fdd1 file · +1 −0Browse files

Unified · Split

crates/editor/src/editor.rs+1−0
@@ -10679,6 +10679,7 @@ impl Editor { · 10678 unmodified lines
1067910679 }
1068010680 });
1068110681 });
10682+ self.request_autoscroll(Autoscroll::newest(), cx);
1068210683 cx.notify();
1068310684 }
1068410685