From 09ecdc8bd653ed47a00fb1de7f3375cb73353f83 Mon Sep 17 00:00:00 2001 From: satok Date: Fri, 2 Jul 2010 17:29:44 +0900 Subject: [PATCH] Disable re-editting feature. Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c --- java/src/com/android/inputmethod/latin/LatinIME.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7612426eb..2cc92e133 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -711,15 +711,16 @@ public class LatinIME extends InputMethodService mLastSelectionEnd = newSelEnd; + // TODO: Uncomment this block when we enable re-editing feature // If a word is selected - if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart) + /*if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart) && (newSelStart < newSelEnd - 1 || (!mPredicting)) && !mVoiceInputHighlighted) { abortCorrection(false); if (isCursorTouchingWord() || mLastSelectionStart < mLastSelectionEnd) { postUpdateOldSuggestions(); } - } + }*/ } @Override