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
This commit is contained in:
Joseph T. Lyons 2025-01-23 16:35:24 -05:00 committed by GitHub
parent d8c9fdd014
commit 06f0f0747d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10679,6 +10679,7 @@ impl Editor {
} }
}); });
}); });
self.request_autoscroll(Autoscroll::newest(), cx);
cx.notify(); cx.notify();
} }