Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git: Side-by-side search matches panic (#48544)
Cameron Mcloughlin8d730846ebd4
diff --git a/crates/editor/src/split.rs b/crates/editor/src/split.rsindex f33636acf99..6b4a6bf46f0 100644--- a/crates/editor/src/split.rs+++ b/crates/editor/src/split.rs@@ -492,6 +492,7 @@ impl SplittableEditor {if let Some(lhs) = &mut this.lhs {if !lhs.was_last_focused {lhs.was_last_focused = true;+ cx.emit(SearchEvent::MatchesInvalidated);cx.notify();}}@@ -504,6 +505,7 @@ impl SplittableEditor {if let Some(lhs) = &mut this.lhs {if lhs.was_last_focused {lhs.was_last_focused = false;+ cx.emit(SearchEvent::MatchesInvalidated);cx.notify();}}