Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Fix missing background highlights in multibuffer find-all-references (#55863)
Xin Zhao29dc988f15bd
diff --git a/crates/editor/src/navigation.rs b/crates/editor/src/navigation.rsindex 0b3e150c8be..c117aa97a30 100644--- a/crates/editor/src/navigation.rs+++ b/crates/editor/src/navigation.rs@@ -2085,6 +2085,9 @@ impl Editor {}))}+ let final_snapshot = multibuffer.snapshot(cx);+ ranges.sort_by(|a, b| a.start.cmp(&b.start, &final_snapshot));+multibuffer.with_title(title)});let existing = workspace.active_pane().update(cx, |pane, cx| {