select keys can now de-select text (#973)

This commit is contained in:
Devy Ballard 2024-07-12 14:35:23 -06:00 committed by GitHub
parent b9e116ed13
commit 544132974c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View file

@ -1761,7 +1761,7 @@ public class LatinIME extends InputMethodService implements
return;
break;
case KeyCode.ARROW_RIGHT, KeyCode.ARROW_DOWN, KeyCode.WORD_RIGHT, KeyCode.PAGE_DOWN:
if (!mInputLogic.mConnection.canForwardDeleteCharacters())
if (mInputLogic.mConnection.noTextAfterCursor())
return;
break;
}