@lvce-editor/editor-worker 19.70.7 → 19.71.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.
- package/dist/editorWorkerMain.js +17 -11
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -1497,12 +1497,6 @@ const {
|
|
|
1497
1497
|
set: set$b
|
|
1498
1498
|
} = create$c(MarkdownWorker);
|
|
1499
1499
|
|
|
1500
|
-
const SyntaxHighlightingWorker = {
|
|
1501
|
-
__proto__: null,
|
|
1502
|
-
invoke: invoke$c,
|
|
1503
|
-
set: set$b
|
|
1504
|
-
};
|
|
1505
|
-
|
|
1506
1500
|
const toCommandId = key => {
|
|
1507
1501
|
const dotIndex = key.indexOf('.');
|
|
1508
1502
|
return key.slice(dotIndex + 1);
|
|
@@ -2504,10 +2498,8 @@ const getEnabled$1 = () => {
|
|
|
2504
2498
|
return state$d.enabled;
|
|
2505
2499
|
};
|
|
2506
2500
|
|
|
2507
|
-
const
|
|
2508
|
-
|
|
2509
|
-
set: set$8
|
|
2510
|
-
} = SyntaxHighlightingWorker;
|
|
2501
|
+
const invoke$b = (...args) => invoke$c(...args);
|
|
2502
|
+
const set$8 = (...args) => set$b(...args);
|
|
2511
2503
|
|
|
2512
2504
|
const state$c = {
|
|
2513
2505
|
pending: Object.create(null),
|
|
@@ -9511,6 +9503,7 @@ const EditorCloseColorPicker = 'Editor: Close Color Picker';
|
|
|
9511
9503
|
const EditorCopyLineDown = 'Editor: Copy Line Down';
|
|
9512
9504
|
const EditorCopyLineUp = 'Editor: Copy Line Up';
|
|
9513
9505
|
const EditorDecrementSelection = 'Editor: Decrement Selection';
|
|
9506
|
+
const EditorExpandSelection = 'Editor: Expand Selection';
|
|
9514
9507
|
const EditorFormatDocumentForced = 'Editor: Format Document (forced)';
|
|
9515
9508
|
const EditorGoToDefinition = 'Editor: Go To Definition';
|
|
9516
9509
|
const EditorGoToTypeDefinition = 'Editor: Go To Type Definition';
|
|
@@ -9520,6 +9513,7 @@ const EditorIncrementSelection = 'Editor: Increment Selection';
|
|
|
9520
9513
|
const EditorOpenColorPicker = 'Editor: Open Color Picker';
|
|
9521
9514
|
const EditorSelectAllOccurrences = 'Editor: Select All Occurrences';
|
|
9522
9515
|
const EditorSelectDown = 'Editor: Select Down';
|
|
9516
|
+
const EditorShrinkSelection = 'Editor: Shrink Selection';
|
|
9523
9517
|
const EditorSelectInsideString = 'Editor: Select Inside String';
|
|
9524
9518
|
const EditorSelectNextOccurrence = 'Editor: Select Next Occurrence';
|
|
9525
9519
|
const EditorSelectUp = 'Editor: Select Up';
|
|
@@ -9683,6 +9677,12 @@ const editorToggleComment = () => {
|
|
|
9683
9677
|
const editorDecrementSelection = () => {
|
|
9684
9678
|
return i18nString(EditorDecrementSelection);
|
|
9685
9679
|
};
|
|
9680
|
+
const editorExpandSelection = () => {
|
|
9681
|
+
return i18nString(EditorExpandSelection);
|
|
9682
|
+
};
|
|
9683
|
+
const editorShrinkSelection = () => {
|
|
9684
|
+
return i18nString(EditorShrinkSelection);
|
|
9685
|
+
};
|
|
9686
9686
|
const editorSelectUp = () => {
|
|
9687
9687
|
return i18nString(EditorSelectUp);
|
|
9688
9688
|
};
|
|
@@ -15565,6 +15565,12 @@ const getQuickPickMenuEntries = () => {
|
|
|
15565
15565
|
}, {
|
|
15566
15566
|
id: 'Editor.cursorUndo',
|
|
15567
15567
|
label: cursorUndo()
|
|
15568
|
+
}, {
|
|
15569
|
+
id: 'Editor.expandSelection',
|
|
15570
|
+
label: editorExpandSelection()
|
|
15571
|
+
}, {
|
|
15572
|
+
id: 'Editor.shrinkSelection',
|
|
15573
|
+
label: editorShrinkSelection()
|
|
15568
15574
|
}, {
|
|
15569
15575
|
id: 'Editor.fold',
|
|
15570
15576
|
label: fold()
|
|
@@ -17307,7 +17313,7 @@ const getEditorGutterVirtualDom$1 = (gutterInfos, activeLineNumber = -1) => {
|
|
|
17307
17313
|
};
|
|
17308
17314
|
|
|
17309
17315
|
const getEditorGutterVirtualDom = (gutterInfos, activeLineNumber = -1, breadcrumbsEnabled = false) => {
|
|
17310
|
-
const gutterDom = getEditorGutterVirtualDom$1(
|
|
17316
|
+
const gutterDom = getEditorGutterVirtualDom$1(gutterInfos, activeLineNumber);
|
|
17311
17317
|
return [{
|
|
17312
17318
|
childCount: gutterInfos.length === 0 ? 0 : 1,
|
|
17313
17319
|
className: breadcrumbsEnabled ? 'Gutter EditorBreadcrumbsOffset' : 'Gutter',
|