Function OSSingleton.getImeSelection
Returns the IME cursor position (the currently-edited portion of the string) relative to the characters in the composition string.
constant MainLoop
is sent to the application to notify it of changes to the IME cursor position.
Note: This method is implemented on macOS.