@lvce-editor/editor-worker 19.79.1 → 19.79.3
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/diff-sdk.js +3 -3
- package/dist/editorWorkerMain.js +3 -3
- package/package.json +1 -1
package/dist/diff-sdk.js
CHANGED
|
@@ -16218,7 +16218,7 @@ const getLanguageByExtension = (languages, extensionLower) => {
|
|
|
16218
16218
|
};
|
|
16219
16219
|
const getLanguageByFileName = (languages, fileNameLower) => {
|
|
16220
16220
|
for (const language of languages) {
|
|
16221
|
-
if (language && language.fileNames &&
|
|
16221
|
+
if (Array.isArray(language?.fileNames) && language.fileNames.some(fileName => typeof fileName === 'string' && fileName.toLowerCase() === fileNameLower)) {
|
|
16222
16222
|
return language.id;
|
|
16223
16223
|
}
|
|
16224
16224
|
}
|
|
@@ -26472,7 +26472,7 @@ const getKeyBindings = () => {
|
|
|
26472
26472
|
key: Home,
|
|
26473
26473
|
when: FocusEditorCompletions
|
|
26474
26474
|
}, {
|
|
26475
|
-
command: '
|
|
26475
|
+
command: 'Editor.openCompletion',
|
|
26476
26476
|
key: CtrlCmd | Space$1,
|
|
26477
26477
|
when: FocusEditorCompletions
|
|
26478
26478
|
}, {
|
|
@@ -26772,7 +26772,7 @@ const getKeyBindings = () => {
|
|
|
26772
26772
|
key: Alt$1 | Shift | LeftArrow,
|
|
26773
26773
|
when: FocusEditor
|
|
26774
26774
|
}, {
|
|
26775
|
-
command: 'Editor.
|
|
26775
|
+
command: 'Editor.selectionGrow',
|
|
26776
26776
|
key: CtrlCmd | Shift | Space$1,
|
|
26777
26777
|
when: FocusEditorText
|
|
26778
26778
|
}];
|
package/dist/editorWorkerMain.js
CHANGED
|
@@ -16669,7 +16669,7 @@ const getLanguageByExtension = (languages, extensionLower) => {
|
|
|
16669
16669
|
};
|
|
16670
16670
|
const getLanguageByFileName = (languages, fileNameLower) => {
|
|
16671
16671
|
for (const language of languages) {
|
|
16672
|
-
if (language && language.fileNames &&
|
|
16672
|
+
if (Array.isArray(language?.fileNames) && language.fileNames.some(fileName => typeof fileName === 'string' && fileName.toLowerCase() === fileNameLower)) {
|
|
16673
16673
|
return language.id;
|
|
16674
16674
|
}
|
|
16675
16675
|
}
|
|
@@ -26923,7 +26923,7 @@ const getKeyBindings = () => {
|
|
|
26923
26923
|
key: Home,
|
|
26924
26924
|
when: FocusEditorCompletions
|
|
26925
26925
|
}, {
|
|
26926
|
-
command: '
|
|
26926
|
+
command: 'Editor.openCompletion',
|
|
26927
26927
|
key: CtrlCmd | Space$1,
|
|
26928
26928
|
when: FocusEditorCompletions
|
|
26929
26929
|
}, {
|
|
@@ -27223,7 +27223,7 @@ const getKeyBindings = () => {
|
|
|
27223
27223
|
key: Alt$1 | Shift | LeftArrow,
|
|
27224
27224
|
when: FocusEditor
|
|
27225
27225
|
}, {
|
|
27226
|
-
command: 'Editor.
|
|
27226
|
+
command: 'Editor.selectionGrow',
|
|
27227
27227
|
key: CtrlCmd | Shift | Space$1,
|
|
27228
27228
|
when: FocusEditorText
|
|
27229
27229
|
}];
|