Disable re-editting feature.

Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
main
satok 2010-07-02 17:29:44 +09:00
parent bc0b0a6478
commit 09ecdc8bd6
1 changed files with 3 additions and 2 deletions

View File

@ -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