@lvce-editor/test-worker 13.2.0 → 13.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +2 -0
- package/dist/testWorkerMain.js +8 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -216,6 +216,8 @@ interface Editor {
|
|
|
216
216
|
readonly selectAllOccurrences: () => Promise<void>;
|
|
217
217
|
readonly selectAllRight: () => Promise<void>;
|
|
218
218
|
readonly selectDown: () => Promise<void>;
|
|
219
|
+
readonly selectNextOccurrence: () => Promise<void>;
|
|
220
|
+
readonly selectPreviousOccurrence: () => Promise<void>;
|
|
219
221
|
readonly selectUp: () => Promise<void>;
|
|
220
222
|
readonly selectionGrow: () => Promise<void>;
|
|
221
223
|
readonly setCursor: (rowIndex: number, columnIndex: number) => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1981,6 +1981,12 @@ const findAllImplementations = async () => {
|
|
|
1981
1981
|
const setSelections = async selections => {
|
|
1982
1982
|
await invoke('Editor.setSelections', selections);
|
|
1983
1983
|
};
|
|
1984
|
+
const selectNextOccurrence = async () => {
|
|
1985
|
+
await invoke('Editor.selectNextOccurrence');
|
|
1986
|
+
};
|
|
1987
|
+
const selectPreviousOccurrence = async () => {
|
|
1988
|
+
await invoke('Editor.selectPreviousOccurrence');
|
|
1989
|
+
};
|
|
1984
1990
|
const openFindWidget = async () => {
|
|
1985
1991
|
await invoke('Editor.openFind');
|
|
1986
1992
|
};
|
|
@@ -2198,6 +2204,8 @@ const Editor = {
|
|
|
2198
2204
|
selectAllOccurrences,
|
|
2199
2205
|
selectAllRight,
|
|
2200
2206
|
selectDown: selectDown$1,
|
|
2207
|
+
selectNextOccurrence,
|
|
2208
|
+
selectPreviousOccurrence,
|
|
2201
2209
|
selectUp: selectUp$1,
|
|
2202
2210
|
selectionGrow,
|
|
2203
2211
|
setCursor,
|