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.
2 parents b2c6bfb + c85586f commit e529771Copy full SHA for e529771
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 Set<string>();
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.add(reason);
488
+
489
const adjustSettingsArgs: ShowExcludeOptionsArgs = {
490
codePoint: codePoint,
491
reason: highlightInfo.reason,
0 commit comments