get_text_selected


Description:

[ Version ( since = "0.70" ) ]
public string? get_text_selected (Format format)

Gets the currently selected text in the format specified by format.

Since 0.72, this function also supports HTML format.xg

Parameters:

this

a Terminal

format

the Format to use

Returns:

a newly allocated string containing the selected text, or null if there is no selection or the format is not supported