@lvce-editor/editor-worker 19.70.7 → 19.71.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/editorWorkerMain.js +3 -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),
|
|
@@ -17307,7 +17299,7 @@ const getEditorGutterVirtualDom$1 = (gutterInfos, activeLineNumber = -1) => {
|
|
|
17307
17299
|
};
|
|
17308
17300
|
|
|
17309
17301
|
const getEditorGutterVirtualDom = (gutterInfos, activeLineNumber = -1, breadcrumbsEnabled = false) => {
|
|
17310
|
-
const gutterDom = getEditorGutterVirtualDom$1(
|
|
17302
|
+
const gutterDom = getEditorGutterVirtualDom$1(gutterInfos, activeLineNumber);
|
|
17311
17303
|
return [{
|
|
17312
17304
|
childCount: gutterInfos.length === 0 ? 0 : 1,
|
|
17313
17305
|
className: breadcrumbsEnabled ? 'Gutter EditorBreadcrumbsOffset' : 'Gutter',
|