Links
EControl Syntax Editor SDK
TSyntMemoStrings.RealCount Method

Returns number of lines excluding zero-space last line. 

 

There are two possible cases: 

1. Text is ended on line-break -> RealCount = Count-1. 

2. Text is ended on any other character -> RealCount = Count.

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