Returns caret position of the next word after word at caret position pt.
function NextWord(pt: TPoint): TPoint;
TCustomSyntaxMemo Methods