diff options
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 2527c81fa..da5b38833 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -715,7 +715,8 @@ public class LatinIME extends InputMethodService // TODO: Uncomment this block when we enable re-editing feature // If a word is selected - /*if (isPredictionOn() && mJustRevertedSeparator == null + /* + if (isPredictionOn() && mJustRevertedSeparator == null && (candidatesStart == candidatesEnd || newSelStart != oldSelStart) && (newSelStart < newSelEnd - 1 || (!mPredicting)) && !mVoiceInputHighlighted) { @@ -724,7 +725,8 @@ public class LatinIME extends InputMethodService } else { abortCorrection(false); } - }*/ + } + */ } @Override |