File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/EditorFeatures/Core.Wpf/InlineHints Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ namespace Microsoft.CodeAnalysis.Editor.InlineHints
2929 /// </summary>
3030 internal sealed class InlineHintsTagger : EfficientTagger < IntraTextAdornmentTag >
3131 {
32+ /// <summary>
33+ /// On demand mapping of data tags to adornment tags created for them. As long as the data tags are alive,
34+ /// we'll keep the corresponding adornment tags alive <em>once it has been created</em>. Note: the underlying
35+ /// tagger is a view tagger, which will toss tags once they get far enough out of view. So we will only create
36+ /// and cache as many adornment tags as what the underlying tagger thinks there should be tags for <em>and</em>
37+ /// which have been requested by the view tagger.
38+ /// </summary>
3239 private static ConditionalWeakTable < TagSpan < InlineHintDataTag > , TagSpan < IntraTextAdornmentTag > > s_dataTagToAdornmentTag = new ( ) ;
3340
3441 private readonly EfficientTagger < InlineHintDataTag > _underlyingTagger ;
You can’t perform that action at this time.
0 commit comments