@lvce-editor/editor-worker 19.70.3 → 19.70.4
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 -3
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -16155,7 +16155,7 @@ const getSavedLanguageId = (savedState, languages) => {
|
|
|
16155
16155
|
}
|
|
16156
16156
|
return explicitLanguageId;
|
|
16157
16157
|
};
|
|
16158
|
-
const loadContent = async (state, savedState, largeFile = false) => {
|
|
16158
|
+
const loadContent = async (state, savedState, largeFile = false, focus = true) => {
|
|
16159
16159
|
const {
|
|
16160
16160
|
assetDir,
|
|
16161
16161
|
height,
|
|
@@ -16254,7 +16254,7 @@ const loadContent = async (state, savedState, largeFile = false) => {
|
|
|
16254
16254
|
...newEditor1,
|
|
16255
16255
|
differences: [],
|
|
16256
16256
|
focus: FocusEditorText$1,
|
|
16257
|
-
focused:
|
|
16257
|
+
focused: focus,
|
|
16258
16258
|
initial: false,
|
|
16259
16259
|
loadError: getErrorMessage(error),
|
|
16260
16260
|
textInfos: []
|
|
@@ -16316,7 +16316,7 @@ const loadContent = async (state, savedState, largeFile = false) => {
|
|
|
16316
16316
|
...newEditor3WithBreadcrumbs,
|
|
16317
16317
|
differences,
|
|
16318
16318
|
focus: FocusEditorText$1,
|
|
16319
|
-
focused:
|
|
16319
|
+
focused: focus,
|
|
16320
16320
|
textInfos
|
|
16321
16321
|
};
|
|
16322
16322
|
const completionsOnTypeRaw = await get$3('editor.completionsOnType');
|