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