@lvce-editor/test-worker 1.12.0 → 1.13.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/testWorkerMain.js +17 -1
- package/package.json +1 -1
package/dist/testWorkerMain.js
CHANGED
|
@@ -1025,6 +1025,12 @@ const toggleCompletionDetails = async () => {
|
|
|
1025
1025
|
const organizeImports = async () => {
|
|
1026
1026
|
await invoke('Editor.organizeImports');
|
|
1027
1027
|
};
|
|
1028
|
+
const addAllMissingImports = async () => {
|
|
1029
|
+
await invoke('Editor.addAllMissingImports');
|
|
1030
|
+
};
|
|
1031
|
+
const sortImports = async () => {
|
|
1032
|
+
await invoke('Editor.sortImports');
|
|
1033
|
+
};
|
|
1028
1034
|
const toggleLineComment = async () => {
|
|
1029
1035
|
await invoke('Editor.toggleLineComment');
|
|
1030
1036
|
};
|
|
@@ -1061,6 +1067,9 @@ const cursorHome = async () => {
|
|
|
1061
1067
|
const copyLineUp = async () => {
|
|
1062
1068
|
await invoke('Editor.copyLineUp');
|
|
1063
1069
|
};
|
|
1070
|
+
const copy = async () => {
|
|
1071
|
+
await invoke('Editor.copy');
|
|
1072
|
+
};
|
|
1064
1073
|
const closeColorPicker = async () => {
|
|
1065
1074
|
await invoke('Editor.closeColorPicker');
|
|
1066
1075
|
};
|
|
@@ -1068,13 +1077,18 @@ const openContextMenu$1 = async () => {
|
|
|
1068
1077
|
await invoke('Editor.contextMenu');
|
|
1069
1078
|
};
|
|
1070
1079
|
const getText = async () => {
|
|
1071
|
-
|
|
1080
|
+
return invoke('Editor.getText');
|
|
1081
|
+
};
|
|
1082
|
+
const rename$1 = async () => {
|
|
1083
|
+
await invoke('Editor.rename');
|
|
1072
1084
|
};
|
|
1073
1085
|
|
|
1074
1086
|
const TestFrameWorkComponentEditor = {
|
|
1075
1087
|
__proto__: null,
|
|
1088
|
+
addAllMissingImports,
|
|
1076
1089
|
closeColorPicker,
|
|
1077
1090
|
closeCompletionDetails,
|
|
1091
|
+
copy,
|
|
1078
1092
|
copyLineDown,
|
|
1079
1093
|
copyLineUp,
|
|
1080
1094
|
cursorCharacterLeft,
|
|
@@ -1109,10 +1123,12 @@ const TestFrameWorkComponentEditor = {
|
|
|
1109
1123
|
openHover,
|
|
1110
1124
|
openSourceActions,
|
|
1111
1125
|
organizeImports,
|
|
1126
|
+
rename: rename$1,
|
|
1112
1127
|
selectAll,
|
|
1113
1128
|
setCursor,
|
|
1114
1129
|
setDeltaY,
|
|
1115
1130
|
setSelections,
|
|
1131
|
+
sortImports,
|
|
1116
1132
|
sourceActionsSelectCurrent,
|
|
1117
1133
|
toggleBlockComment,
|
|
1118
1134
|
toggleCompletionDetails,
|