get_surrounding_text
Description:
Get surrounding text.
It is also used to tell the input-context that the engine will utilize surrounding-text. In that case, it must be called in
enable handler, with both text
and cursor
set to
null
.
See also: set_surrounding_text
Parameters:
this |
An IBusEngine. |
text |
Location to store surrounding text. |
cursor_pos |
Cursor position in characters in |
anchor_pos |
Anchor position of selection in |