@lvce-editor/editor-worker 19.66.0 → 19.66.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.
@@ -1233,6 +1233,7 @@ const Tab$1 = 2;
1233
1233
  const Enter = 3;
1234
1234
  const Escape = 8;
1235
1235
  const Space$1 = 9;
1236
+ const PageUp = 10;
1236
1237
  const PageDown = 11;
1237
1238
  const End = 255;
1238
1239
  const Home = 12;
@@ -9539,6 +9540,9 @@ const getEditorHoverInfo = async (editorUid, position) => {
9539
9540
  displayStringLanguageId = '',
9540
9541
  documentation = ''
9541
9542
  } = hover || {};
9543
+ if (!displayString.trim() && !documentation.trim() && matchingDiagnostics.length === 0) {
9544
+ return undefined;
9545
+ }
9542
9546
  const tokenizerPath = '';
9543
9547
  const lineInfos = displayString ? await tokenizeCodeBlock(displayString, displayStringLanguageId || fallbackDisplayStringLanguageId, tokenizerPath) : [];
9544
9548
  const wordPart = getWordBefore(editor, rowIndex, columnIndex);
@@ -14103,6 +14107,10 @@ const getKeyBindings = () => {
14103
14107
  command: 'Editor.cursorPageDown',
14104
14108
  key: PageDown,
14105
14109
  when: FocusEditorText
14110
+ }, {
14111
+ command: 'Editor.cursorDocumentStart',
14112
+ key: PageUp,
14113
+ when: FocusEditorText
14106
14114
  }, {
14107
14115
  command: 'Editor.deleteLeft',
14108
14116
  key: Backspace,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.66.0",
3
+ "version": "19.66.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"