33 references to TaggerContext
Microsoft.CodeAnalysis.EditorFeatures (33)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (3)
49
TaggerContext
<BraceHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
64
TaggerContext
<BraceHighlightTag> context, Document document, ITextSnapshot snapshot, int position, BraceMatchingOptions options, CancellationToken cancellationToken)
153
TaggerContext
<BraceHighlightTag> context,
BracePairs\BracePairsTaggerProvider.cs (1)
45
protected override async Task ProduceTagsAsync(
TaggerContext
<IBracePairTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken)
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (4)
85
TaggerContext
<IClassificationTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken)
115
TaggerContext
<IClassificationTag> context,
140
TaggerContext
<IClassificationTag> context,
218
TaggerContext
<IClassificationTag> context,
Copilot\CopilotTaggerProvider.cs (1)
65
protected override async Task ProduceTagsAsync(
TaggerContext
<ITextMarkerTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken)
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
50
TaggerContext
<ITextMarkerTag> context, CancellationToken cancellationToken)
InlineHints\InlineHintsDataTaggerProvider.cs (1)
67
TaggerContext
<InlineHintDataTag<TAdditionalInformation>> context,
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
61
TaggerContext
<KeywordHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (3)
93
TaggerContext
<NavigableHighlightTag> context, CancellationToken cancellationToken)
136
TaggerContext
<NavigableHighlightTag> context,
173
TaggerContext
<NavigableHighlightTag> context,
Structure\AbstractStructureTaggerProvider.cs (2)
171
TaggerContext
<IContainerStructureTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
202
TaggerContext
<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},
245
TaggerContext
<TTag> context, CancellationToken cancellationToken)
263
protected virtual Task ProduceTagsAsync(
TaggerContext
<TTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken)
290
internal 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)
357
var
context = new TaggerContext<TTag>(
470
TaggerContext
<TTag> context)
573
private async ValueTask ProduceTagsAsync(
TaggerContext
<TTag> context, CancellationToken cancellationToken)
Tagging\AsynchronousViewportTaggerProvider.cs (2)
94
/// <inheritdoc cref="AbstractAsynchronousTaggerProvider{TTag}.ProduceTagsAsync(
TaggerContext
{TTag}, CancellationToken)"/>
95
protected abstract Task ProduceTagsAsync(
TaggerContext
<TTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken);
Tagging\AsynchronousViewportTaggerProvider.SingleViewportTaggerProvider.cs (1)
166
TaggerContext
<TTag> context, CancellationToken cancellationToken)
Tagging\TaggerContext.cs (1)
44
/// to <see cref="AbstractAsynchronousTaggerProvider{TTag}.ProduceTagsAsync(
TaggerContext
{TTag}, CancellationToken)"/>. Note: state will