|
virtual retval_t ScimBridgeAgentClientListener::get_surrounding_string |
( |
scim_bridge_imcontext_id_t |
imcontext_id, |
|
|
int |
before_max, |
|
|
int |
after_max, |
|
|
scim::WideString & |
wstring, |
|
|
int & |
cursor_position |
|
) |
| |
|
pure virtual |
Get the surrounding string of the preedit cursor.
imcontext_id The id of the IMContext. - Parameters
-
before_max | The maximum characters (in wstr) to fetch before the cursor. |
before_max | The maximum characters (in wstr) to fetch after the cursor. |
wstring | The surrounding string. |
cursor_position | The cursor position in the preedit string gotten by this function. |
- Returns
- REVAL_FAILED when a serious error has occurred, or RETVAL_IGNORED if an timeout has happened. Otherwise it returns RETVAL_SUCCEEDED.
|