GtkScintilla::get_text_length

int get_text_length(void);

Return the length of the text inside scintilla object.

echo $scintilla->get_text_length();