protected virtual void OnTextReplaced (DocumentChangeEventArgs args) { if (TextReplaced != null) TextReplaced (this, args); }