~cosmos-door/ubuntu-keyboard/japanese-keyboard-rebooted

Viewing all changes in revision 413.

  • Committer: Mitsuya Shibata
  • Date: 2016-02-04 15:31:04 UTC
  • Revision ID: mty.shibata@gmail.com-20160204153104-s9m1a3tpze0rk42r
fix problem with parsePredictionText signal on parse()

If parsePredictionText signal is issued when AnthyAdapter::parse() in
procedure, new preedit is saved to JapanesePlugin::m_nextWord then return back.

When AnthyAdapter::parse() is finished, JapanesePlugin::finishedProcessing() is
called. And if parsed text is differ from m_nextWord, retry to parse().

This commit fix to pass wrong old word to new parse() call.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: