editor: Refresh document highlights when expanding excerpts (#40715)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -21040,6 +21040,7 @@ impl Editor {
|
||||
}
|
||||
multi_buffer::Event::ExcerptsExpanded { ids } => {
|
||||
self.refresh_inlay_hints(InlayHintRefreshReason::NewLinesShown, cx);
|
||||
self.refresh_document_highlights(cx);
|
||||
cx.emit(EditorEvent::ExcerptsExpanded { ids: ids.clone() })
|
||||
}
|
||||
multi_buffer::Event::Reparsed(buffer_id) => {
|
||||
|
||||
Reference in New Issue
Block a user