2 instantiations of BraceHighlightTag
Microsoft.CodeAnalysis.EditorFeatures (2)
BraceMatching\BraceHighlightTag.cs (2)
13public static readonly BraceHighlightTag StartTag = new(navigateToStart: true); 14public static readonly BraceHighlightTag EndTag = new(navigateToStart: false);
16 references to BraceHighlightTag
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Interactive\BraceMatching\InteractiveBraceHighlightingTests.cs (2)
35private static async Task<IEnumerable<ITagSpan<BraceHighlightTag>>> ProduceTagsAsync( 47var context = new TaggerContext<BraceHighlightTag>(
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)
BraceMatching\BraceHighlightTag.cs (2)
13public static readonly BraceHighlightTag StartTag = new(navigateToStart: true); 14public static readonly BraceHighlightTag EndTag = new(navigateToStart: false);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
BraceHighlighting\AbstractBraceHighlightingTests.cs (1)
54var context = new TaggerContext<BraceHighlightTag>(
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
BraceMatching\BraceHighlightingTests.vb (2)
27Private Async Function ProduceTagsAsync(workspace As TestWorkspace, buffer As ITextBuffer, position As Integer) As Tasks.Task(Of IEnumerable(Of ITagSpan(Of BraceHighlightTag))) 38Dim context = New TaggerContext(Of BraceHighlightTag)(