Calculates logical line number.
function LineToLog(Line: integer; SubLine: integer): integer;
One line may occupy several logical lines in word-wrap mode. Also some lines may be collapsed or hidden.
Line specifies real line number (as index in Lines), SubLine specifies sub-line in this line.
Result is logical line number.
Copyright (c) 2004-2011. All rights reserved.
|
What do you think about this topic? Send feedback!
|