Set the preedit mode of an IMContext.
Implements ScimBridgeAgentProtected.
References ScimBridgeAgentIMContext::find(), and ScimBridgeAgentIMContext::set_preedit_mode().