Method GetNumberOfLines
GetNumberOfLines()
Returns the number of lines in the text control buffer.
int GetNumberOfLines()
Returns
Remarks
The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for GTK and OSX/Cocoa ports while it is the number of physical lines, i.e. the count of lines actually shown in the control, in MSW and OSX/Carbon. Because of this discrepancy, it is not recommended to use this function.