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
10679 }10679 }
10680 });10680 });
10681 });10681 });
10682 self.request_autoscroll(Autoscroll::newest(), cx);
10682 cx.notify();10683 cx.notify();
10683 }10684 }
10684 10685

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t