get_line_count


Description:

public int get_line_count ()

Obtains the number of lines in the buffer.

This value is cached, so the function is very fast.

Parameters:

this

a TextBuffer

Returns:

number of lines in the buffer




2022 vala-language.org