aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-07-02 17:29:44 +0900
committersatok <satok@google.com>2010-07-02 17:32:55 +0900
commit09ecdc8bd653ed47a00fb1de7f3375cb73353f83 (patch)
tree9f16acc70b6575f6bd69817473749f35014bfb65 /java
parentbc0b0a6478d97874e305be60bfa16798268edc2a (diff)
downloadlatinime-09ecdc8bd653ed47a00fb1de7f3375cb73353f83.tar.gz
latinime-09ecdc8bd653ed47a00fb1de7f3375cb73353f83.tar.xz
latinime-09ecdc8bd653ed47a00fb1de7f3375cb73353f83.zip
Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java5
1 files 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