Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.CalcLineCount Method

Calculates count of logical lines.

function CalcLineCount(Exact: Boolean = False): integer;

In word-wrap mode one long line of text may occupy several logical lines. Exact parameter specifies how not analyzed lines should be processed. If Exact is False each not analyzed line is treated as single line, otherwise this line is analyzed and exact number of logical line is determined.

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