public MockTextView(ITextBuffer buffer)
 {
     _buffer      = buffer;
     _selection   = new MockTextSelection(this);
     _bufferGraph = new MockBufferGraph();
     _caret       = new MockTextCaret(this);
 }
 public MockTextView(ITextBuffer buffer)
 {
     _buffer = buffer;
     _selection = new MockTextSelection(this);
     _bufferGraph = new MockBufferGraph();
     _caret = new MockTextCaret(this);
 }