Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73cmain
parent
bc0b0a6478
commit
09ecdc8bd6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue