get_line_count


Description:

public int get_line_count ()

Gets the total number of lines in the file.

Convenience method that delegates to file.buffer.get_line_count(). Requires file.buffer to be non-null. Ensure buffer is created before use.

Returns:

Line count, or 0 if not available