33 references to TaggerContext
Microsoft.CodeAnalysis.EditorFeatures (33)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (3)
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,
BracePairs\BracePairsTaggerProvider.cs (1)
45protected override async Task ProduceTagsAsync(TaggerContext<IBracePairTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken)
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (4)
85TaggerContext<IClassificationTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken) 115TaggerContext<IClassificationTag> context, 140TaggerContext<IClassificationTag> context, 218TaggerContext<IClassificationTag> context,
Copilot\CopilotTaggerProvider.cs (1)
65protected override async Task ProduceTagsAsync(TaggerContext<ITextMarkerTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken)
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
50TaggerContext<ITextMarkerTag> context, CancellationToken cancellationToken)
InlineHints\InlineHintsDataTaggerProvider.cs (1)
67TaggerContext<InlineHintDataTag<TAdditionalInformation>> context,
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
61TaggerContext<KeywordHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (3)
93TaggerContext<NavigableHighlightTag> context, CancellationToken cancellationToken) 136TaggerContext<NavigableHighlightTag> context, 173TaggerContext<NavigableHighlightTag> context,
Structure\AbstractStructureTaggerProvider.cs (2)
171TaggerContext<IContainerStructureTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken) 202TaggerContext<IContainerStructureTag> context,
Tagging\AbstractAsynchronousTaggerProvider.cs (7)
101/// cref="ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/> after a batch of events comes in. If <see 203/// <see cref="TaggerContext{TTag}.CaretPosition"/> in the call to 204/// <see cref="ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/>. 214/// cref="SnapshotSpan"/>s and will asynchronously call into <see cref="ProduceTagsAsync(TaggerContext{TTag}, 245TaggerContext<TTag> context, CancellationToken cancellationToken) 263protected virtual Task ProduceTagsAsync(TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken) 290internal Task ProduceTagsAsync(TaggerContext<TTag> context)
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (2)
27/// tagging infrastructure. It is the coordinator between <see cref="ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/>s, 32/// <see cref="ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/> to build the new list of tags. When
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (3)
357var context = new TaggerContext<TTag>( 470TaggerContext<TTag> context) 573private async ValueTask ProduceTagsAsync(TaggerContext<TTag> context, CancellationToken cancellationToken)
Tagging\AsynchronousViewportTaggerProvider.cs (2)
94/// <inheritdoc cref="AbstractAsynchronousTaggerProvider{TTag}.ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/> 95protected abstract Task ProduceTagsAsync(TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken);
Tagging\AsynchronousViewportTaggerProvider.SingleViewportTaggerProvider.cs (1)
166TaggerContext<TTag> context, CancellationToken cancellationToken)
Tagging\TaggerContext.cs (1)
44/// to <see cref="AbstractAsynchronousTaggerProvider{TTag}.ProduceTagsAsync(TaggerContext{TTag}, CancellationToken)"/>. Note: state will