Пример #1
0
 /// <inheritdoc/>
 public override Selection UpdateOnDocumentChange(DocumentChangeEventArgs e) => this;
Пример #2
0
 /// <inheritdoc/>
 public override Selection UpdateOnDocumentChange(DocumentChangeEventArgs e)
 {
     return(Create(TextArea,
                   new TextViewPosition(TextArea.Document.Location(e.NewOffset(BegOffset, AnchorMapping.EMove.Default)), Beg.VisualColumn),
                   new TextViewPosition(TextArea.Document.Location(e.NewOffset(EndOffset, AnchorMapping.EMove.Default)), End.VisualColumn)));
 }
Пример #3
0
 /// <summary>Updates the selection when the document changes.</summary>
 public abstract Selection UpdateOnDocumentChange(DocumentChangeEventArgs e);