TextBuffer.getLineCount

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

Return: number of lines in the buffer

class TextBuffer
int
getLineCount
()

Meta