SCIMBridge  0.4.x
retval_t ScimBridgeAgentClientListenerImpl::delete_surrounding_string ( scim_bridge_imcontext_id_t  imcontext_id,
int  offset,
int  length 
)
virtual

Delete the surrounding string of the preedit cursor.

imcontext_id The id of the IMContext.

Parameters
offsetThe begining offset to remove from the cursor.
lengthThe length of the string to remove.
Returns
REVAL_FAILED when a serious error has occurred, or RETVAL_IGNORED if an timeout has happened. Otherwise it returns RETVAL_SUCCEEDED.

Implements ScimBridgeAgentClientListener.

References RETVAL_FAILED, RETVAL_IGNORED, RETVAL_SUCCEEDED, SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT, SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT, and SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED.