@lvce-editor/editor-worker 19.56.0 → 19.56.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.
@@ -6418,7 +6418,7 @@ const handleBlur$1 = async editor => {
6418
6418
  widgetRevision,
6419
6419
  widgets: closeWidgetsMaybe(editor.widgets || [])
6420
6420
  };
6421
- if (!editor.modified) {
6421
+ if (!editor.modified || isUntitledFile(editor.uri)) {
6422
6422
  return newEditor;
6423
6423
  }
6424
6424
  const autoSave = await get$3('files.autoSave');
@@ -16166,7 +16166,7 @@ const wrapCommand = (fn, preservesTypingCoalescing = false) => async (uid, ...ar
16166
16166
  set$8(otherUid, instance.oldState, synchronizedEditor);
16167
16167
  }
16168
16168
  }
16169
- if (lines !== finalEditor.lines) {
16169
+ if (lines !== finalEditor.lines && !isUntitledFile(finalEditor.uri)) {
16170
16170
  schedule(uid, token => saveAfterDelay(uid, token));
16171
16171
  } else if (modified && !finalEditor.modified) {
16172
16172
  dispose$2(uid);
@@ -16409,6 +16409,7 @@ const commandMap = {
16409
16409
  'EditorCompletion.closeDetails': closeDetails$1,
16410
16410
  'EditorCompletion.focusFirst': focusFirst$1,
16411
16411
  'EditorCompletion.focusIndex': focusIndex$2,
16412
+ 'EditorCompletion.focusLast': focusLast$1,
16412
16413
  'EditorCompletion.focusNext': focusNext$2,
16413
16414
  'EditorCompletion.focusPrevious': focusPrevious$1,
16414
16415
  'EditorCompletion.handleEditorBlur': handleEditorBlur,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.56.0",
3
+ "version": "19.56.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"