Calculates caret position from logical position.
function LogToLinesPos(const Pos: TPoint): TPoint;
Result.Y is equal to Pos.Y.
Pos.X (logical X coordinate) is equal to position in line with expanded tab characters. Result.X - position in source line.
Copyright (c) 2004-2011. All rights reserved.
|
What do you think about this topic? Send feedback!
|