@lvce-editor/editor-worker 19.66.0 → 19.66.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.
- package/dist/editorWorkerMain.js +3 -0
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -9539,6 +9539,9 @@ const getEditorHoverInfo = async (editorUid, position) => {
|
|
|
9539
9539
|
displayStringLanguageId = '',
|
|
9540
9540
|
documentation = ''
|
|
9541
9541
|
} = hover || {};
|
|
9542
|
+
if (!displayString.trim() && !documentation.trim() && matchingDiagnostics.length === 0) {
|
|
9543
|
+
return undefined;
|
|
9544
|
+
}
|
|
9542
9545
|
const tokenizerPath = '';
|
|
9543
9546
|
const lineInfos = displayString ? await tokenizeCodeBlock(displayString, displayStringLanguageId || fallbackDisplayStringLanguageId, tokenizerPath) : [];
|
|
9544
9547
|
const wordPart = getWordBefore(editor, rowIndex, columnIndex);
|