2 instantiations of BraceHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (2)
16 references to BraceHighlightTag
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (11)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (9)
33[TagType(typeof(BraceHighlightTag))]
34internal sealed class BraceHighlightingViewTaggerProvider : AsynchronousViewTaggerProvider<BraceHighlightTag>
64TaggerContext<BraceHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
79TaggerContext<BraceHighlightTag> context, Document document, ITextSnapshot snapshot, int position, BraceMatchingOptions options, CancellationToken cancellationToken)
168TaggerContext<BraceHighlightTag> context,
174context.AddTag(snapshot.GetTagSpan(braces.Value.LeftSpan.ToSpan(), BraceHighlightTag.StartTag));
175context.AddTag(snapshot.GetTagSpan(braces.Value.RightSpan.ToSpan(), BraceHighlightTag.EndTag));
180protected override bool TagEquals(BraceHighlightTag tag1, BraceHighlightTag tag2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)