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.

Fix `Replace Next Match` command (#30890)

Aleksei Gusevd61a5444004f
diff --git a/crates/search/src/buffer_search.rs b/crates/search/src/buffer_search.rs
index 5272db35de8..20d6e4006c5 100644
--- a/crates/search/src/buffer_search.rs
+++ b/crates/search/src/buffer_search.rs
@@ -1460,7 +1460,6 @@ impl BufferSearchBar {
self.select_next_match(&SelectNextMatch, window, cx);
}
should_propagate = false;
- self.focus_editor(&FocusEditor, window, cx);
}
}
}