Set the cursor position in the preedit.
- Parameters
-
| imcontext_id | The id of the IMContext. |
| cursor_position | The cursor position in the preedit. |
- Returns
- RETVAL_FAILED if it failed, otherwise it returns RETVAL_SUCCEEDED.
Implements ScimBridgeAgentClientListener.
References RETVAL_SUCCEEDED, scim_bridge_alloc_message(), scim_bridge_free_message(), SCIM_BRIDGE_MESSAGE_BACKGROUND, SCIM_BRIDGE_MESSAGE_COLOR, SCIM_BRIDGE_MESSAGE_DECORATE, SCIM_BRIDGE_MESSAGE_FOREGROUND, SCIM_BRIDGE_MESSAGE_HIGHLIGHT, SCIM_BRIDGE_MESSAGE_NONE, SCIM_BRIDGE_MESSAGE_REVERSE, scim_bridge_message_set_argument(), SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES, SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION, SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING, SCIM_BRIDGE_MESSAGE_UNDERLINE, scim_bridge_messenger_push_message(), scim_bridge_pdebugln(), scim_bridge_string_from_uint(), and scim_bridge_wstring_to_string().