@lvce-editor/editor-worker 19.29.13 → 19.29.15
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/editorWorkerMain.js +5 -2
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -12246,6 +12246,9 @@ const applyTabCompletion = (editor, result) => {
|
|
|
12246
12246
|
};
|
|
12247
12247
|
|
|
12248
12248
|
const handleTab = async editor => {
|
|
12249
|
+
if (!isEverySelectionEmpty(editor.selections)) {
|
|
12250
|
+
return indentMore(editor);
|
|
12251
|
+
}
|
|
12249
12252
|
const result = await getTabCompletion(editor);
|
|
12250
12253
|
if (!result) {
|
|
12251
12254
|
// TODO enter tab or two spaces
|
|
@@ -14060,14 +14063,14 @@ const commandMap = {
|
|
|
14060
14063
|
'Editor.getWordBefore2': getWordBefore2,
|
|
14061
14064
|
'Editor.goToDefinition': wrapCommand(goToDefinition),
|
|
14062
14065
|
'Editor.goToTypeDefinition': wrapCommand(goToTypeDefinition),
|
|
14063
|
-
'Editor.handleBeforeInput': wrapCommand(handleBeforeInput),
|
|
14066
|
+
'Editor.handleBeforeInput': wrapCommand(handleBeforeInput, true),
|
|
14064
14067
|
'Editor.handleBeforeInputFromContentEditable': wrapCommand(handleBeforeInputFromContentEditable),
|
|
14065
14068
|
'Editor.handleBlur': wrapCommand(handleBlur$1),
|
|
14066
14069
|
'Editor.handleClickAtPosition': wrapCommand(handleClickAtPosition),
|
|
14067
14070
|
'Editor.handleContextMenu': wrapCommand(handleContextMenu),
|
|
14068
14071
|
'Editor.handleDoubleClick': wrapCommand(handleDoubleClick),
|
|
14069
14072
|
'Editor.handleFocus': wrapCommand(handleFocus$1),
|
|
14070
|
-
'Editor.handleKeyUp': wrapCommand(handleKeyUp),
|
|
14073
|
+
'Editor.handleKeyUp': wrapCommand(handleKeyUp, true),
|
|
14071
14074
|
'Editor.handleMouseDown': wrapCommand(handleMouseDown),
|
|
14072
14075
|
'Editor.handleMouseMove': wrapCommand(handleMouseMove),
|
|
14073
14076
|
'Editor.handleMouseMoveWithAltKey': wrapCommand(handleMouseMoveWithAltKey),
|