internal TestErrorMargin(ITextView textView) { _textView = textView; _testMarginControl = new TestErrorMarginControl(); _testMarginControl.ThrowError += OnThrowError; _textView.Caret.PositionChanged += OnCaretPositionChanged; }