Non-finalised input is being added to the document when typing in Japanese using the Anthy IME in VisualEditor. This is causing two problems:
# You need to click undo many times to undo the input of one word, when instead you should be able to undo the input with one click.
# If you click somewhere else in the document before finalising the input, the unfinalised version becomes finalised. Instead, it should be erased and not appear in the undo history.
Please see [[ https://commons.wikimedia.org/wiki/File:VE-Anthy-undo-bug.ogv | this screencast ]] for demonstrations of both of these issues. (Choose the original file rather than any of the previews, as the previews have synchronisation problems.)
Ubuntu Linux 15.04
Anthy input settings: default (input mode "Hiragana", typing method "Romaji", conversion mode "Multiple segment")
The system language is set to English (US)
VisualEditor tested at https://wikimedia.github.io/VisualEditor/demos/ve/desktop-dist.html#!pages/simple.html