buffer_get_line_count
September 8th 2024
Retrieve the line count of a buffer
Signature
i64
buffer_get_line_count(Application_Links* app,
Buffer_ID buffer_id);
Parameters
app
the standard custom layer context pointer
buffer_id
the id of the buffer to query
Return
the number of lines in the buffer on success, when the buffer exists, otherwise zero