Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Joseph T. Lyons06f0f0747def
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 53c28b36eb1..cf8640e048d 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -10679,6 +10679,7 @@ impl Editor {
}
});
});
+ self.request_autoscroll(Autoscroll::newest(), cx);
cx.notify();
}