We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18136ed commit dd6af83Copy full SHA for dd6af83
src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.ts
@@ -429,6 +429,7 @@ export class UnicodeHighlighterHoverParticipant implements IEditorHoverParticipa
429
}
430
431
const result: MarkdownHover[] = [];
432
+ const existedReason = new Map<string, boolean>();
433
let index = 300;
434
for (const d of lineDecorations) {
435
@@ -480,6 +481,11 @@ export class UnicodeHighlighterHoverParticipant implements IEditorHoverParticipa
480
481
break;
482
483
484
+ if (existedReason.has(reason)) {
485
+ continue;
486
+ }
487
+ existedReason.set(reason, true);
488
+
489
const adjustSettingsArgs: ShowExcludeOptionsArgs = {
490
codePoint: codePoint,
491
reason: highlightInfo.reason,
0 commit comments