Skip to content

Commit

Permalink
Commented out debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertvanderHulst committed Jun 26, 2023
1 parent d9f2a84 commit bd8e628
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public SameWordHighlighterTagger(ITextView view, ITextBuffer sourceBuffer, IText
ITextStructureNavigator? textStructureNavigator, SameWordHighlighterBase tagger)
{
_fileName = sourceBuffer.GetFileName();
System.Diagnostics.Debug.WriteLine("Create new tagger for "+_fileName);
//System.Diagnostics.Debug.WriteLine("Create new tagger for "+_fileName);
_buffer = sourceBuffer;
_textSearchService = textSearchService;
_textStructureNavigator = textStructureNavigator;
Expand All @@ -97,15 +97,15 @@ internal void RegisterEvents(ITextView textView)
textView.LayoutChanged += ViewLayoutChanged;
textView.Closed += TextView_Closed;
Counter += 1;
System.Diagnostics.Debug.WriteLine($"RegisterEvents {_fileName}: #{Counter} ");
//System.Diagnostics.Debug.WriteLine($"RegisterEvents {_fileName}: #{Counter} ");
}
internal void UnRegisterEvents(ITextView textView)
{
textView.Caret.PositionChanged -= CaretPositionChanged;
textView.LayoutChanged -= ViewLayoutChanged;
textView.Closed -= TextView_Closed;
Counter -= 1;
System.Diagnostics.Debug.WriteLine($"UnRegisterEvents {_fileName}: #{Counter} ");
//System.Diagnostics.Debug.WriteLine($"UnRegisterEvents {_fileName}: #{Counter} ");
}
private void ViewLayoutChanged(object sender, TextViewLayoutChangedEventArgs e)
{
Expand Down

0 comments on commit bd8e628

Please sign in to comment.