示例#1
0
 private TextBuffer(IPiece <char> text, IContentType contentType)
 {
     ContentType      = contentType;
     _currentSnapshot = new TextSnapshot(this, PieceTable.ForPiece(text));
 }