Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove highlighted rows when confirming outline view

Max Brunsfeldc15dadbb8c8b
diff --git a/crates/outline/src/outline.rs b/crates/outline/src/outline.rs
index 5cbbbf13021..b2154e7bb2a 100644
--- a/crates/outline/src/outline.rs
+++ b/crates/outline/src/outline.rs
@@ -187,6 +187,7 @@ impl PickerDelegate for OutlineViewDelegate {
active_editor.change_selections(Some(Autoscroll::center()), cx, |s| {
s.select_ranges([position..position])
});
+ active_editor.highlight_rows(None);
}
});
cx.emit(PickerEvent::Dismiss);