@lvce-editor/find-widget-worker 3.6.0 → 3.7.1
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.
|
@@ -1216,6 +1216,10 @@ const focusCloseButton = state => {
|
|
|
1216
1216
|
return setFindWidgetFocus(state, FocusFindWidgetCloseButton);
|
|
1217
1217
|
};
|
|
1218
1218
|
|
|
1219
|
+
const focusFind = state => {
|
|
1220
|
+
return setFindWidgetFocus(state, FindWidget$1);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1219
1223
|
const setSelections = async (editorUid, selections) => {
|
|
1220
1224
|
// @ts-ignore
|
|
1221
1225
|
await invoke('Editor.setSelections2', editorUid, selections);
|
|
@@ -2850,6 +2854,7 @@ const commandMap = {
|
|
|
2850
2854
|
'FindWidget.dispose': dispose,
|
|
2851
2855
|
'FindWidget.focusCloseButton': wrapCommand(focusCloseButton),
|
|
2852
2856
|
'FindWidget.focusElement': wrapCommand(focusElement),
|
|
2857
|
+
'FindWidget.focusFind': wrapCommand(focusFind),
|
|
2853
2858
|
'FindWidget.focusFirst': wrapCommand(focusFirst),
|
|
2854
2859
|
'FindWidget.focusIndex': wrapCommand(focusIndex),
|
|
2855
2860
|
'FindWidget.focusLast': wrapCommand(focusLast),
|