1 instantiation of KeywordHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (1)
KeywordHighlighting\KeywordHighlightTag.cs (1)
15public static readonly KeywordHighlightTag Instance = new();
10 references to KeywordHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (8)
KeywordHighlighting\HighlighterViewTaggerProvider.cs (7)
33[TagType(typeof(KeywordHighlightTag))] 37internal sealed class HighlighterViewTaggerProvider : AsynchronousViewTaggerProvider<KeywordHighlightTag> 73TaggerContext<KeywordHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken) 122context.AddTag(new TagSpan<KeywordHighlightTag>(span.ToSnapshotSpan(snapshot), KeywordHighlightTag.Instance)); 127protected override bool TagEquals(KeywordHighlightTag tag1, KeywordHighlightTag tag2)
KeywordHighlighting\KeywordHighlightTag.cs (1)
15public static readonly KeywordHighlightTag Instance = new();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
KeywordHighlighting\AbstractKeywordHighlightingTests.vb (1)
43Dim context = New TaggerContext(Of KeywordHighlightTag)(document, snapshot, New SnapshotPoint(snapshot, caretPosition))
Microsoft.VisualStudio.IntegrationTest.Utilities (1)
InProcess\Editor_InProc.cs (1)
253=> GetTags<ITextMarkerTag>(tag => tag.Type == KeywordHighlightTag.TagId);