Skip to content

Commit 4a424c1

Browse files
Docs
1 parent 5840f8b commit 4a424c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/EditorFeatures/Core.Wpf/InlineHints/InlineHintsTaggerProvider.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ internal sealed class InlineHintsTaggerProvider(
5555
public readonly Lazy<IStreamingFindUsagesPresenter> StreamingFindUsagesPresenter = streamingFindUsagesPresenter;
5656
public readonly EditorOptionsService EditorOptionsService = editorOptionsService;
5757

58+
/// <summary>
59+
/// Underlying data tagger that produces the raw data tags. We defer to it to own the actual low level tagger.
60+
/// That tagger is responsible for listening to events (like scrolling/editing the buffer) and emitting <see
61+
/// cref="ITagger{T}.TagsChanged"/> events when the tags change. We then forward those events along to any
62+
/// client of us. When that client then asks us for our adornment tags, we call into the underlying tagger for
63+
/// its data tags. Then, on demand, we convert and cache those data tags into adornment tags and pass on the
64+
/// results.
65+
/// </summary>
5866
private readonly InlineHintsDataTaggerProvider _dataTaggerProvider = new(taggerHost, inlineHintKeyProcessor);
5967

6068
public ITagger<T>? CreateTagger<T>(ITextView textView, ITextBuffer subjectBuffer) where T : ITag

0 commit comments

Comments
 (0)