size

Returns the number of lines without the last one (i.e. the number of line feed in the block).

Syntax
aTextBlock size
Return Value
The number of lines.