mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-16 15:02:48 +00:00
make arrow keys repeatable (#932)
only applies to keyboard keys, not in toolbar
This commit is contained in:
parent
74571a3202
commit
a92d108444
4 changed files with 24 additions and 7 deletions
|
@ -363,6 +363,11 @@ public final class RichInputConnection implements PrivateCommandPerformer {
|
|||
return mExpectedSelStart > 0;
|
||||
}
|
||||
|
||||
public boolean canForwardDeleteCharacters() {
|
||||
final CharSequence after = getTextAfterCursor(1, 0);
|
||||
return !TextUtils.isEmpty(after);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the caps modes we should be in after this specific string.
|
||||
* <p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue