MIM-PREDEFINED
= INSERT | CANDIDATES | DELETE | SELECT | SHOW | HIDE
| MARK | MOVE | PUSHBACK | POP | UNDO | COMMIT | UNHANDLE
- | SHIFT | SHIFTBACK
+ | SHIFT | SHIFTBACK | CHAR-AT | KEY-COUNT | SURROUND-TEXT-P
INSERT = '<insert>' [ INTTERM | STRTERM ] '</insert>'
-CANDIDATES = '<insert-candidates>' [ STRTERM | LISTTERM ] + '</insert-candiates>'
+CANDIDATES = '<insert-candidates>' [ STRTERM | LISTTERM ]+ '</insert-candiates>'
DELETE = '<delete>' [ MARKERTERM | INTTERM ] '</delete>'
SELECT = '<select>' [ SELECTORTERM | INTTERM ] '</select>'
SHOW = '<show-candidates/>'
UNHANDLE = '<unhandle/>'
SHIFT = '<shift>' SYMTERM '</shift>'
SHIFTBACK = '<shiftback/>'
+CHAR-AT = '<char-at>' MARKERTERM '</char-at>'
+ => <integer>C</integer>, where C is the character in the preedit text
+ at the postion of MARKERTERM
+KEY-COUNT = '<key-count/>'
+ => <integer>N</integer>, where N is the number of currently handled keys
+SURROUNDING-TEXT-AVAILABLE = '<surrounding-text-available/>'
+ => <integer>1</integer> or <integer>0</integer>