Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Merge branch 'main' into command_palette2
Conrad Irwina73265ace4fc
diff --cc crates/go_to_line2/src/go_to_line.rsindex ca68a9ae79a,8f0d94f3e8a..cc41f637186--- a/crates/go_to_line2/src/go_to_line.rs+++ b/crates/go_to_line2/src/go_to_line.rs@@@ -39,18 -37,7 +39,12 @@@ pub struct GoToLine_subscriptions: Vec<Subscription>,}- pub enum Event {- Dismissed,- }-- impl EventEmitter<Event> for GoToLine {}-impl EventEmitter<ModalEvent> for GoToLine {}+impl Modal for GoToLine {+ fn focus(&self, cx: &mut WindowContext) {+ self.line_editor.update(cx, |editor, cx| editor.focus(cx))+ }+}impl GoToLine {pub fn new(active_editor: View<Editor>, cx: &mut ViewContext<Self>) -> Self {