Links
EControl Syntax Editor SDK
TSyntTextSource.StrPosToCaretPos Method

Returns caret position for the given text position.

function StrPosToCaretPos(p: integer): TPoint; virtual;

P is zero-based in-text position.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!