Remove highlighted rows when confirming outline view

This commit is contained in:
Max Brunsfeld 2023-04-26 15:46:29 -07:00 committed by Mikayla Maki
parent 5e4ee4b2e6
commit a8c7062fc9

View File

@ -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);