GtkScintilla::get_line_count

int get_line_count(void);

Get the quantity of lines of the text area.

echo $scintilla->get_line_count();