2 instantiations of BraceHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (2)
BraceMatching\BraceHighlightTag.cs (2)
11public static readonly BraceHighlightTag StartTag = new(navigateToStart: true); 12public static readonly BraceHighlightTag EndTag = new(navigateToStart: false);
11 references to BraceHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (11)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (9)
28[TagType(typeof(BraceHighlightTag))] 32: AsynchronousViewTaggerProvider<BraceHighlightTag>(taggerHost, FeatureAttribute.BraceHighlighting) 49TaggerContext<BraceHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken) 64TaggerContext<BraceHighlightTag> context, Document document, ITextSnapshot snapshot, int position, BraceMatchingOptions options, CancellationToken cancellationToken) 153TaggerContext<BraceHighlightTag> context, 159context.AddTag(snapshot.GetTagSpan(braces.Value.LeftSpan.ToSpan(), BraceHighlightTag.StartTag)); 160context.AddTag(snapshot.GetTagSpan(braces.Value.RightSpan.ToSpan(), BraceHighlightTag.EndTag)); 165protected override bool TagEquals(BraceHighlightTag tag1, BraceHighlightTag tag2)
BraceMatching\BraceHighlightTag.cs (2)
11public static readonly BraceHighlightTag StartTag = new(navigateToStart: true); 12public static readonly BraceHighlightTag EndTag = new(navigateToStart: false);