Update the preedit.
Implemented in ScimBridgeAgentClientListenerImpl.
Referenced by ScimBridgeAgentIMContextImpl::set_preedit_mode().