BTextView::CountLines() returns wrong result
|Reported by:||bigmike||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
Method CountLines() doesn't count the last line in a BTextView if it is empty and it is not the first line. I. e. if there is some text and the last character is a linebreak then CountLines() returns a result that is one too small.
I am not entirely sure, if this is intended behavior, but I guess not.