Get the surrounding text of an IMContext.
- Parameters
-
imcontext | The IMContext. |
before_max | The maximum number of characters (in wchar) to fetch before the cursor (= caret). |
after_max | The maximum number of characters (in wchar) to fetch after the cursor (= caret). |
string | The pointer for the gotten string. |
cursor_position | The cursor position in the gotten string (in wchar). |
- Returns
- It returns TRUE if succeeded to get it, otherwise it returns FALSE.
References scim_bridge_client_imcontext_get_surrounding_text().
Referenced by scim_bridge_client_imcontext_get_surrounding_text().