mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
This commit is contained in:
parent
bc0b0a6478
commit
09ecdc8bd6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user