You need to be using inputMethodComposing: TextArea.displayText has different semantics - it's the text with no formatting, but not aware of the input method.
You need to be using inputMethodComp osing: TextArea. displayText has different semantics - it's the text with no formatting, but not aware of the input method.