Skip to content

Commit bd8e628

Browse files
Commented out debugging code
1 parent d9f2a84 commit bd8e628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/toolkit/Community.VisualStudio.Toolkit.Shared/MEF/SameWordHighlighterBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public SameWordHighlighterTagger(ITextView view, ITextBuffer sourceBuffer, IText
8080
ITextStructureNavigator? textStructureNavigator, SameWordHighlighterBase tagger)
8181
{
8282
_fileName = sourceBuffer.GetFileName();
83-
System.Diagnostics.Debug.WriteLine("Create new tagger for "+_fileName);
83+
//System.Diagnostics.Debug.WriteLine("Create new tagger for "+_fileName);
8484
_buffer = sourceBuffer;
8585
_textSearchService = textSearchService;
8686
_textStructureNavigator = textStructureNavigator;
@@ -97,15 +97,15 @@ internal void RegisterEvents(ITextView textView)
9797
textView.LayoutChanged += ViewLayoutChanged;
9898
textView.Closed += TextView_Closed;
9999
Counter += 1;
100-
System.Diagnostics.Debug.WriteLine($"RegisterEvents {_fileName}: #{Counter} ");
100+
//System.Diagnostics.Debug.WriteLine($"RegisterEvents {_fileName}: #{Counter} ");
101101
}
102102
internal void UnRegisterEvents(ITextView textView)
103103
{
104104
textView.Caret.PositionChanged -= CaretPositionChanged;
105105
textView.LayoutChanged -= ViewLayoutChanged;
106106
textView.Closed -= TextView_Closed;
107107
Counter -= 1;
108-
System.Diagnostics.Debug.WriteLine($"UnRegisterEvents {_fileName}: #{Counter} ");
108+
//System.Diagnostics.Debug.WriteLine($"UnRegisterEvents {_fileName}: #{Counter} ");
109109
}
110110
private void ViewLayoutChanged(object sender, TextViewLayoutChangedEventArgs e)
111111
{

0 commit comments

Comments
 (0)