get_text


Description:

public string get_text (int start_line = 0, int end_line = -1)

Get text from buffer, optionally limited to a line range.

Parameters:

start_line

Starting line number (0-based, inclusive)

end_line

Ending line number (0-based, inclusive), or -1 for all lines

Returns:

The buffer text, or empty string if not available