public BufferEdit(TestTextBuffer textBuffer)
 {
     _textBuffer   = textBuffer;
     _editSnapshot = new StringTextSnapshot(_textBuffer.CurrentSnapshot.GetText(), _textBuffer.CurrentSnapshot.Version.VersionNumber);
     _edits        = new List <TestEdit>();
 }
Example #2
0
 public BufferEdit(TestTextBuffer textBuffer)
 {
     _textBuffer = textBuffer;
     _edits      = new List <TestEdit>();
 }