Skip to content

Commit

Permalink
- Address missing case in #333 (C# syntax highlight stopped working a…
Browse files Browse the repository at this point in the history
…fter Copy/Cut operation with "Copy rich text on copy/cut" option turned on)
  • Loading branch information
wmjordan committed Sep 4, 2024
1 parent 3a0f74e commit 5aa069d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Codist/Taggers/TaggerFactories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ ITagger<IClassificationTag> 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());
Expand Down

0 comments on commit 5aa069d

Please sign in to comment.