Called before replacing sub-string in text.
property OnReplaceText: TOnReplaceTextEvent;
TSyntReplaceDialog Events