hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 5009779330 android keyboard: Labs › Delete swiped words letter by letter
iPhone Hex has this as an experiment (#2323) and a tester asked for it on Android. Right after
a swipe, Delete takes the whole swiped word back (Gboard's behaviour). With the new Labs ›
Keyboard switch on (off by default), that Delete is an ordinary one: it removes one letter,
and the swipe is forgotten with it (edited()), so the strip stops offering the word back, the
next swipe there is a new word rather than the next reading, and what's left is ordinary text.

KeyboardEngine.deleteSwiped's condition moves into SwipeText.takesBack, which also reads the
switch; with it off the condition is the same as before (the cursor where the swipe left it,
the word right before it). Strings in English and Simplified Chinese; README and the features
list describe it.

Verified: ./gradlew :app:testDebugUnitTest :app:assembleDebug (211 tests, the existing swipe
cases unchanged, plus one for takesBack: on, off, a moved cursor, no swipe).
2026-11-24 13:37:45 -05:00
..
src android keyboard: Labs › Delete swiped words letter by letter 2026-11-24 13:37:45 -05:00
build.gradle.kts Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00
proguard-rules.pro Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00