Replace the surrounding string of the preedit cursor.
imcontext_id The id of the IMContext.
- Parameters
-
wstring | The new surrounding string. |
cursor_position | The 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.