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();
}
}