SCIM Bridge 0.4.x

◆ replace_surrounding_string()

virtual retval_t ScimBridgeAgentClientListener::replace_surrounding_string ( scim_bridge_imcontext_id_t imcontext_id,
const scim::WideString & wstring,
int cursor_position )
pure virtual

Replace the surrounding string of the preedit cursor.

@parm imcontext_id The id of the IMContext.

Parameters
wstringThe new surrounding string.
cursor_positionThe new cursor position in the preedit.
Returns
REVAL_FAILED when a serious error has occurred, or RETVAL_IGNORED if an timeout has happened. Otherwise it returns RETVAL_SUCCEEDED.