Start work on following in multi-buffers

This commit is contained in:
Max Brunsfeld 2022-11-29 14:50:43 -08:00
parent 82abf31ef1
commit 6120d6488b
8 changed files with 241 additions and 56 deletions

View file

@ -388,7 +388,7 @@ impl ProjectSearchView {
});
// Subcribe to query_editor in order to reraise editor events for workspace item activation purposes
cx.subscribe(&query_editor, |_, _, event, cx| {
cx.emit(ViewEvent::EditorEvent(*event))
cx.emit(ViewEvent::EditorEvent(event.clone()))
})
.detach();
@ -405,7 +405,7 @@ impl ProjectSearchView {
this.update_match_index(cx);
}
// Reraise editor events for workspace item activation purposes
cx.emit(ViewEvent::EditorEvent(*event));
cx.emit(ViewEvent::EditorEvent(event.clone()));
})
.detach();