public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText) {
   _snapshot = textSnapshotMock;
   _lineNumber = lineNumber;
   _index = index;
   _length = length;
   _lineSeparatorText = lineSeparatorText;
 }
 public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText)
 {
     _snapshot          = textSnapshotMock;
     _lineNumber        = lineNumber;
     _index             = index;
     _length            = length;
     _lineSeparatorText = lineSeparatorText;
 }
Example #3
0
 public TextBufferMock(string text)
 {
     _currentSnapshot = new TextSnapshotMock(this, text);
 }
Example #4
0
 public TextBufferMock(string text) {
   _currentSnapshot = new TextSnapshotMock(this, text);
 }