Allow selecting all search matches in buffer
This commit is contained in:
parent
bf9dfa3b51
commit
29cbeb39bd
10 changed files with 146 additions and 16 deletions
|
@ -494,6 +494,11 @@ impl SearchableItem for LspLogView {
|
|||
.update(cx, |e, cx| e.activate_match(index, matches, cx))
|
||||
}
|
||||
|
||||
fn select_matches(&mut self, matches: Vec<Self::Match>, cx: &mut ViewContext<Self>) {
|
||||
self.editor
|
||||
.update(cx, |e, cx| e.select_matches(matches, cx))
|
||||
}
|
||||
|
||||
fn find_matches(
|
||||
&mut self,
|
||||
query: project::search::SearchQuery,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue