Unified · Split
| @@ -2171,7 +2171,6 @@ impl Editor { · 2170 unmodified lines | |||
| 2171 | 2171 | ||
| 2172 | self.blink_manager.update(cx, BlinkManager::pause_blinking); | 2172 | self.blink_manager.update(cx, BlinkManager::pause_blinking); |
| 2173 | cx.emit(EditorEvent::SelectionsChanged { local }); | 2173 | cx.emit(EditorEvent::SelectionsChanged { local }); |
| 2174 | cx.emit(SearchEvent::MatchesInvalidated); | ||
| 2175 | 2174 | ||
| 2176 | if self.selections.disjoint_anchors().len() == 1 { | 2175 | if self.selections.disjoint_anchors().len() == 1 { |
| 2177 | cx.emit(SearchEvent::ActiveMatchChanged) | 2176 | cx.emit(SearchEvent::ActiveMatchChanged) |