SCIM Bridge 0.4.x

◆ scim_bridge_client_imcontext_replace_surrounding_text()

boolean scim_bridge_client_imcontext_replace_surrounding_text ( ScimBridgeClientIMContext * imcontext,
int cursor_position,
const char * string )

Replace the surrounding text of an IMContext. The string reffered as "the surrounding text" here is the string gotten by get_surrounding_text () previously.

Parameters
imcontextThe IMContext.
cursor_positionThe cursor position (in wchar) in the new surrounding string.
stringThe new surrounding text encoded in UTF8.

References scim_bridge_client_imcontext_replace_surrounding_text().

Referenced by scim_bridge_client_imcontext_replace_surrounding_text().