TextBuffer.getLineCount

Obtains the number of lines in the buffer. This value is cached, so the function is very fast.

class TextBuffer
int
getLineCount
()

Return Value

Type: int

number of lines in the buffer

Meta