public TextLineContainer(Point point, TextLine line, TextOffset offset, TextBlockContent content ) { Line = line; Point = point; Offset = offset; Content = content; }
public static TextCharacters CreateCharactersObject( int characterStartIndex, TextBlockContent content, TextSpanRunProperties properties ) { return(new TextCharacters(content.GetText(), characterStartIndex, content.TextLength - characterStartIndex, properties)); }
public void NotifyTextChanged(TextBlockContent changedContent) => ReParse(changedContent.Owner);
public TextBlockContentTests() { Content = new TextBlockContent(); Content.Insert(Content.GetCaretAtStart(), "123456789"); }
public TextSourceChangedEventArgs(TextBlockContent oldContent, TextBlockContent newContent) { OldContent = oldContent; NewContent = newContent; }