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.

Merge branch 'vim-command'

Conrad Irwin769c330b3d3d
diff --cc crates/search/src/buffer_search.rs
index e0761612562,11c35a6d75c..72893656d61
--- a/crates/search/src/buffer_search.rs
+++ b/crates/search/src/buffer_search.rs
@@@ -942,11 -966,8 +975,11 @@@ impl BufferSearchBar
}
}
}
+ if should_propagate {
+ cx.propagate_action();
+ }
}
- fn replace_all(&mut self, _: &ReplaceAll, cx: &mut ViewContext<Self>) {
+ pub fn replace_all(&mut self, _: &ReplaceAll, cx: &mut ViewContext<Self>) {
if !self.dismissed && self.active_search.is_some() {
if let Some(searchable_item) = self.active_searchable_item.as_ref() {
if let Some(query) = self.active_search.as_ref() {