mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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). |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||