|
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.
|