mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-08 07:37:41 +00:00
reload the cursor position from text field when in doubt
This commit is contained in:
parent
9efb22bd0c
commit
0b9fb7334d
3 changed files with 29 additions and 12 deletions
|
@ -997,7 +997,7 @@ public class LatinIME extends InputMethodService implements
|
|||
// didn't move (the keyboard having been closed with the back key),
|
||||
// initialSelStart and initialSelEnd sometimes are lying. Make a best effort to
|
||||
// work around this bug.
|
||||
mInputLogic.mConnection.tryFixLyingCursorPosition();
|
||||
mInputLogic.mConnection.tryFixIncorrectCursorPosition();
|
||||
if (mInputLogic.mConnection.isCursorTouchingWord(currentSettingsValues.mSpacingAndPunctuations, true)) {
|
||||
mHandler.postResumeSuggestions(true /* shouldDelay */);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue