getLineCount

open fun getLineCount(): Int

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