@lvce-editor/test-worker 1.12.0 → 1.14.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 +25 -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,24 @@ 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');
|
|
1084
|
+
};
|
|
1085
|
+
const showHover = async () => {
|
|
1086
|
+
await invoke('Editor.showHover2');
|
|
1087
|
+
};
|
|
1088
|
+
const openRename = async () => {
|
|
1089
|
+
await invoke('Editor.openRename');
|
|
1072
1090
|
};
|
|
1073
1091
|
|
|
1074
1092
|
const TestFrameWorkComponentEditor = {
|
|
1075
1093
|
__proto__: null,
|
|
1094
|
+
addAllMissingImports,
|
|
1076
1095
|
closeColorPicker,
|
|
1077
1096
|
closeCompletionDetails,
|
|
1097
|
+
copy,
|
|
1078
1098
|
copyLineDown,
|
|
1079
1099
|
copyLineUp,
|
|
1080
1100
|
cursorCharacterLeft,
|
|
@@ -1107,12 +1127,16 @@ const TestFrameWorkComponentEditor = {
|
|
|
1107
1127
|
openFind,
|
|
1108
1128
|
openFindWidget,
|
|
1109
1129
|
openHover,
|
|
1130
|
+
openRename,
|
|
1110
1131
|
openSourceActions,
|
|
1111
1132
|
organizeImports,
|
|
1133
|
+
rename: rename$1,
|
|
1112
1134
|
selectAll,
|
|
1113
1135
|
setCursor,
|
|
1114
1136
|
setDeltaY,
|
|
1115
1137
|
setSelections,
|
|
1138
|
+
showHover,
|
|
1139
|
+
sortImports,
|
|
1116
1140
|
sourceActionsSelectCurrent,
|
|
1117
1141
|
toggleBlockComment,
|
|
1118
1142
|
toggleCompletionDetails,
|