Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: src/IBusChewingEngine.gob

Issue 6312141: When decorating the preedit string, stop forcing the cursor past the end of the input (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/ibus-chewing.git@master
Patch Set: rebase Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IBusChewingEngine.gob
diff --git a/src/IBusChewingEngine.gob b/src/IBusChewingEngine.gob
index 8b7981404734bd0d61fcdb2fc971c7f3d9b6b7cc..35c2c78cc5ae8656787a7809121b360c934bf7db 100644
--- a/src/IBusChewingEngine.gob
+++ b/src/IBusChewingEngine.gob
@@ -509,7 +509,7 @@ class IBus:Chewing:Engine from IBus:Engine{
case CHEWING_INPUT_MODE_EDITING:
case CHEWING_INPUT_MODE_SELECTING_DONE:
default: /* BYPASS */
- cursorRight=*chiSymbolCursor + MAX(zhuyin_item_written, 1);
+ cursorRight=*chiSymbolCursor + zhuyin_item_written;
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698