OLLMcoder.GtkSourceFileBuffer.get_line_count – ollmchat Reference Manual
Packages
ollmchat
OLLMcoder
GtkSourceFileBuffer
file
indent_size
is_loaded
is_modified
last_read_timestamp
uses_tabs
GtkSourceFileBuffer
apply_edit
apply_edits
clear
get_cursor
get_line
get_line_count
get_selection
get_text
read_async
sync_to_file
write
get_line_count
Description:
public
int
get_line_count
()
Get the total number of lines in the buffer.
Returns:
Line count, or 0 if not available