InputMethodContext.notifySurrounding
void notifySurrounding(string text, uint cursorIndex, uint selectionIndex)Notify context that the context surrounding the cursor has changed.
If there's no selection selection_index is the same as cursor_index.
Parameters
text | text surrounding the insertion point |
cursorIndex | the byte index of the insertion cursor within text. |
selectionIndex | the byte index of the selection cursor within text. |