Method

VteTerminalget_text_range_format

Declaration [src]

char*
vte_terminal_get_text_range_format (
  VteTerminal* terminal,
  VteFormat format,
  long start_row,
  long start_col,
  long end_row,
  long end_col,
  gsize* length
)

Description [src]

Returns the specified range of text in the specified format.

Available since:0.72

Parameters

format VteFormat
 

The VteFormat to use.

start_row long
 

The first row of the range.

start_col long
 

The first column of the range.

end_row long
 

The last row of the range.

end_col long
 

The last column of the range.

length gsize*
 

A pointer to a #gsize to store the string length.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: char*
 

A newly allocated string, or NULL.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.