internal TestSnapshotLine(StringTextBuffer testTextBuffer, TestSnapshot parent, int linenumber, int start, string linetext) { this.start = start; this.line = linetext; this.end = this.start + linetext.Length; this.testTextBuffer = testTextBuffer; this.parent = parent; this.lineNumber = linenumber; }
internal TestMappingPoint(StringTextBuffer textBuffer, TestSnapshot snapshot, SnapshotPoint point) { this.snapshot = snapshot; this.textBuffer = textBuffer; this.point = point; }
public TestEdit(TestSnapshot snapshot) { this.snapshot = snapshot; this.text = new StringBuilder(snapshot.GetText()); }
internal StringTextBuffer(String sample) { this.snapshot = new TestSnapshot(this, sample); }