diff --git a/Codist/Taggers/TaggerFactories.cs b/Codist/Taggers/TaggerFactories.cs index 9efd6229..00495c99 100644 --- a/Codist/Taggers/TaggerFactories.cs +++ b/Codist/Taggers/TaggerFactories.cs @@ -114,6 +114,7 @@ ITagger GetTagger(ITextView textView, ITextBuffer buffer) { if (_Taggers.TryGetValue(textView, out var bufferTaggers)) { if (bufferTaggers.TryGetValue(buffer, out var tagger)) { + tagger.Ref(); return tagger; } bufferTaggers.Add(_LastTextBuffer = buffer, _LastTagger = CreateTagger());