[Fedora-i18n-bugs] [Bug 509485] commit_first_segment feature doesn't work

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 11 06:11:54 UTC 2009


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=509485





--- Comment #3 from fujiwara <tfujiwar at redhat.com>  2009-08-11 02:11:53 EDT ---
Created an attachment (id=356978)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=356978)
Patch for engine/engine.py

Implemented commit_first_segment function.

1. Commit the first segment.
2. Remove the first segment in preedit.
3. Remove the segment element.
4. Update lookup string.

There are several regression tests.

test case 1:
2 segments
space, shift + down arrow, space, enter

test case 2:
2 segment
space, shift + down arrow, backspace, space, enter

test case 3:
2 segment
space, shift + down arrow, shift + down arrow

test case 4:
3 segment
space, shift + down, shift + down, shift + down

test case 5:
3 segment
space, shift + down, space, enter

test case 6:
3 segment
space, shift + down, shift + down, space, enter

test case 7:
3 segment
right arrow, space, shift + down, shift + down, shift + down

test case 8:
3 segment
right arrow, right arrow, space, shift + down, shift + down, shift + down

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the i18n-bugs mailing list