Set the cursor position (= caret index) in the preedit of an IMContext.
Referenced by ScimBridgeClientIMContextImpl::reset().