Emitted when a surrounding text is set.
Implement the member function IBusEngineClass::set_surrounding_text in extended class to receive this signal. If anchor_pos equals to cursor_pos, it means "there are no selection" or "does not support selection retrival".
Argument user_data
is ignored in this function.
text |
The surrounding text. |
anchor_pos |
The anchor position on selection area. |
cursor_pos |
The cursor position on surrounding text. |