WIP - Navigate to prev/next search result
This commit is contained in:
@@ -141,7 +141,7 @@ impl ItemView for Editor {
|
||||
}
|
||||
|
||||
fn deactivated(&mut self, cx: &mut ViewContext<Self>) {
|
||||
if let Some(selection) = self.newest_selection_internal() {
|
||||
if let Some(selection) = self.newest_anchor_selection() {
|
||||
self.push_to_nav_history(selection.head(), None, cx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user