Occurs when the caret position changes.
property OnCaretPosChanged: TNotifyEvent;
Write an OnCaretPosChanged event handler to take specific action whenever the position of syntax memo's caret has changed. The CaretPos property of the syntax memo will already be updated to reflect any changes. For example, you may use this event handler to update caret position label on the status bar.