Vte.Terminal.GetTextRange Method
Extracts a view of the visible part of the string.

Syntax

public string GetTextRange (long start_row, long start_col, long end_row, long end_col, bool is_selected, IntPtr data, IntPtr attributes)

Parameters

start_row
first row to search for data
start_col
first column to search for data
end_row
last row to search for data
end_col
last column to search for data
is_selected
a callback
data
user data to be passed to the callback
attributes
location for storing text attributes

Returns

a string

Remarks

If is_selected is not null, characters will only be read if is_selected returns true after being passed the column and row, respectively. A Vte.CharAttributes structure is added to attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. The entire scrollback buffer is scanned, so it is possible to read the entire contents of the buffer using this function.

Requirements

Namespace: Vte
Assembly: vte-sharp (in vte-sharp.dll)