Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643291
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ON_DEV
--- Comment #1 from fujiwara tfujiwar@redhat.com 2010-10-15 03:56:46 EDT --- http://github.com/fujiwarat/ibus-anthy/commit/609de132807b7c36b9db3ad16905b9...
There are two problems. One is engine.jastring.move_cursor() expects the segment lengths but commit_nth_segment() sends char lengths. I added move_cursor_hiragana_length() to convert segment lengths to char lengths. Another is commit_nth_segment() uses self.__segments[] but it doesn't return all preedit text. I replaced self.__segments[] with self.__get_preedit .
Will release a new tarball.