More cursor keys (#933)

This commit is contained in:
Devy Ballard 2024-07-03 14:42:33 -06:00 committed by GitHub
parent e57e2e8de5
commit bcf2a52d6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 164 additions and 19 deletions

View file

@ -1733,11 +1733,11 @@ public class LatinIME extends InputMethodService implements
if (repeatCount > 0) {
// No need to feedback when repeat delete/cursor keys will have no effect.
switch (code) {
case KeyCode.DELETE, KeyCode.ARROW_LEFT, KeyCode.ARROW_UP:
case KeyCode.DELETE, KeyCode.ARROW_LEFT, KeyCode.ARROW_UP, KeyCode.WORD_LEFT, KeyCode.PAGE_UP:
if (!mInputLogic.mConnection.canDeleteCharacters())
return;
break;
case KeyCode.ARROW_RIGHT, KeyCode.ARROW_DOWN:
case KeyCode.ARROW_RIGHT, KeyCode.ARROW_DOWN, KeyCode.WORD_RIGHT, KeyCode.PAGE_DOWN:
if (!mInputLogic.mConnection.canForwardDeleteCharacters())
return;
break;