@lvce-editor/editor-worker 19.74.0 → 19.74.2

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.
@@ -14300,10 +14300,12 @@ const loadSignatureHelpContent = async state => {
14300
14300
  x,
14301
14301
  y
14302
14302
  } = signatureHelpInfo;
14303
+ const documentationVirtualDom = documentation ? await getVirtualDomFromMarkdown(documentation) : [];
14303
14304
  return {
14304
14305
  ...state,
14305
14306
  diagnostics: [],
14306
14307
  documentation,
14308
+ documentationVirtualDom,
14307
14309
  height,
14308
14310
  lineInfos,
14309
14311
  width,
@@ -14943,7 +14945,7 @@ const toggleCompletion = async editor => {
14943
14945
  };
14944
14946
 
14945
14947
  const type = async (editor, text) => {
14946
- const changes = editorReplaceSelections(editor, [text], EditorType);
14948
+ const changes = editorReplaceSelections(editor, splitLines(text), EditorType);
14947
14949
  return scheduleDocumentAndCursorsSelections(editor, changes);
14948
14950
  };
14949
14951
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.74.0",
3
+ "version": "19.74.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"