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; mLastSelectionEnd = newSelEnd;
// TODO: Uncomment this block when we enable re-editing feature
// If a word is selected // If a word is selected
if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart) /*if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart)
&& (newSelStart < newSelEnd - 1 || (!mPredicting)) && (newSelStart < newSelEnd - 1 || (!mPredicting))
&& !mVoiceInputHighlighted) { && !mVoiceInputHighlighted) {
abortCorrection(false); abortCorrection(false);
if (isCursorTouchingWord() || mLastSelectionStart < mLastSelectionEnd) { if (isCursorTouchingWord() || mLastSelectionStart < mLastSelectionEnd) {
postUpdateOldSuggestions(); postUpdateOldSuggestions();
} }
} }*/
} }
@Override @Override