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 dd6af83 commit 8d4cd14Copy full SHA for 8d4cd14
src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.ts
@@ -429,7 +429,7 @@ export class UnicodeHighlighterHoverParticipant implements IEditorHoverParticipa
429
}
430
431
const result: MarkdownHover[] = [];
432
- const existedReason = new Map<string, boolean>();
+ const existedReason = new Set<string>();
433
let index = 300;
434
for (const d of lineDecorations) {
435
@@ -484,7 +484,7 @@ export class UnicodeHighlighterHoverParticipant implements IEditorHoverParticipa
484
if (existedReason.has(reason)) {
485
continue;
486
487
- existedReason.set(reason, true);
+ existedReason.add(reason);
488
489
const adjustSettingsArgs: ShowExcludeOptionsArgs = {
490
codePoint: codePoint,
0 commit comments