Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.LinesPosToLog Method

Calculates logical position from the caret position.

function LinesPosToLog(Pos: TPoint): TPoint;

Result.Y is equal to Pos.Y. 

Result.X (logical X coordinate) is equal to position in line with expanded tab characters.

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