Пример #1
0
 internal TestErrorMargin(ITextView textView)
 {
     _textView = textView;
     _testMarginControl = new TestErrorMarginControl();
     _testMarginControl.ThrowError += OnThrowError;
     _textView.Caret.PositionChanged += OnCaretPositionChanged;
 }
Пример #2
0
 internal TestErrorMargin(ITextView textView)
 {
     _textView                        = textView;
     _testMarginControl               = new TestErrorMarginControl();
     _testMarginControl.ThrowError   += OnThrowError;
     _textView.Caret.PositionChanged += OnCaretPositionChanged;
 }