diff options
author | 2013-09-17 09:48:02 +0000 | |
---|---|---|
committer | 2013-09-17 09:48:02 +0000 | |
commit | 5cab0eb75b430fe15f59f7af828416b6b087dbe8 (patch) | |
tree | 29527b37ab442adc6423718f0839ed6ad27395a1 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | ac7e005ef0013fdd9af173e7bce968e26100949d (diff) | |
parent | b1e98c2f4fbfc637db302e699a7a331691cf90a3 (diff) | |
download | latinime-5cab0eb75b430fe15f59f7af828416b6b087dbe8.tar.gz latinime-5cab0eb75b430fe15f59f7af828416b6b087dbe8.tar.xz latinime-5cab0eb75b430fe15f59f7af828416b6b087dbe8.zip |
Merge "[AC8] Restrict the suggestion strip to the correct part"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 44715caf8..d3a18d410 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1880,6 +1880,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen final int indexOfLastSpace = batchInputText.lastIndexOf(Constants.CODE_SPACE) + 1; if (0 != indexOfLastSpace) { mConnection.commitText(batchInputText.substring(0, indexOfLastSpace), 1); + showSuggestionStrip(suggestedWords.getSuggestedWordsForLastWordOfPhraseGesture()); } final String lastWord = batchInputText.substring(indexOfLastSpace); mWordComposer.setBatchInputWord(lastWord); |