aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/SearchPanelStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/editor/SearchPanelStore.ts')
-rw-r--r--subprojects/frontend/src/editor/SearchPanelStore.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/subprojects/frontend/src/editor/SearchPanelStore.ts b/subprojects/frontend/src/editor/SearchPanelStore.ts
index 43a571e5..8dd02ae6 100644
--- a/subprojects/frontend/src/editor/SearchPanelStore.ts
+++ b/subprojects/frontend/src/editor/SearchPanelStore.ts
@@ -7,7 +7,6 @@ import {
7 replaceAll, 7 replaceAll,
8 replaceNext, 8 replaceNext,
9 SearchQuery, 9 SearchQuery,
10 selectMatches,
11 setSearchQuery, 10 setSearchQuery,
12} from '@codemirror/search'; 11} from '@codemirror/search';
13import { action, computed, makeObservable, observable, override } from 'mobx'; 12import { action, computed, makeObservable, observable, override } from 'mobx';
@@ -31,7 +30,8 @@ export default class SearchPanelStore extends PanelStore {
31 updateQuery: action, 30 updateQuery: action,
32 findNext: action, 31 findNext: action,
33 findPrevious: action, 32 findPrevious: action,
34 selectMatches: action, 33 replaceNext: action,
34 replaceAll: action,
35 }); 35 });
36 } 36 }
37 37
@@ -82,10 +82,6 @@ export default class SearchPanelStore extends PanelStore {
82 this.store.doCommand(findPrevious); 82 this.store.doCommand(findPrevious);
83 } 83 }
84 84
85 selectMatches(): void {
86 this.store.doCommand(selectMatches);
87 }
88
89 replaceNext(): void { 85 replaceNext(): void {
90 this.store.doCommand(replaceNext); 86 this.store.doCommand(replaceNext);
91 } 87 }