@lvce-editor/editor-worker 19.29.4 → 19.29.5
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 +9 -0
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -13628,6 +13628,14 @@ const updateDiagnostics = async editor => {
|
|
|
13628
13628
|
return handleError(error, editor);
|
|
13629
13629
|
}
|
|
13630
13630
|
};
|
|
13631
|
+
const updateDiagnosticsAll = async () => {
|
|
13632
|
+
for (const key of getKeys$2()) {
|
|
13633
|
+
const editor = get$8(Number(key))?.newState;
|
|
13634
|
+
if (editor) {
|
|
13635
|
+
await updateDiagnostics(editor);
|
|
13636
|
+
}
|
|
13637
|
+
}
|
|
13638
|
+
};
|
|
13631
13639
|
|
|
13632
13640
|
const editorDiagnosticEffect = {
|
|
13633
13641
|
// TODO set effects delay / diagnostic delay
|
|
@@ -13911,6 +13919,7 @@ const commandMap = {
|
|
|
13911
13919
|
'Editor.unIndent': wrapCommand(editorUnindent),
|
|
13912
13920
|
'Editor.updateDebugInfo': updateDebugInfo,
|
|
13913
13921
|
'Editor.updateDiagnostics': wrapCommand(updateDiagnostics),
|
|
13922
|
+
'Editor.updateDiagnosticsAll': updateDiagnosticsAll,
|
|
13914
13923
|
'EditorCompletion.close': close$3,
|
|
13915
13924
|
'EditorCompletion.closeDetails': closeDetails$1,
|
|
13916
13925
|
'EditorCompletion.focusFirst': focusFirst$1,
|