public TextData GetSubrange(TextLocation start, TextLocation end) { return(TextData.FromString(this.ToString(start, end))); }
static TextData() { Empty = TextData.FromString(null); }
public static TextBuffer FromText(string text, bool normalizeEndMarkers = false) { return(new TextBuffer(TextData.FromString(text, normalizeEndMarkers))); }