Test the search inclusions/exclusions

This commit is contained in:
Kirill Bulatov
2023-05-10 11:11:31 +03:00
committed by Kirill Bulatov
parent 80fc1bc276
commit dfdf7e4866
4 changed files with 351 additions and 28 deletions
+3 -3
View File
@@ -428,7 +428,7 @@ impl ProjectSearchView {
editor.set_text(query_text, cx);
editor
});
// Subcribe to query_editor in order to reraise editor events for workspace item activation purposes
// Subscribe 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.clone()))
})
@@ -462,7 +462,7 @@ impl ProjectSearchView {
editor
});
// Subcribe to include_files_editor in order to reraise editor events for workspace item activation purposes
// Subscribe to include_files_editor in order to reraise editor events for workspace item activation purposes
cx.subscribe(&included_files_editor, |_, _, event, cx| {
cx.emit(ViewEvent::EditorEvent(event.clone()))
})
@@ -479,7 +479,7 @@ impl ProjectSearchView {
editor
});
// Subcribe to excluded_files_editor in order to reraise editor events for workspace item activation purposes
// Subscribe to excluded_files_editor in order to reraise editor events for workspace item activation purposes
cx.subscribe(&excluded_files_editor, |_, _, event, cx| {
cx.emit(ViewEvent::EditorEvent(event.clone()))
})