mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Chrome's address bar (inputType 0x80011: TEXT | VARIATION_URI | NO_SUGGESTIONS), an incognito tab's address bar and plain URL fields typed literally: FieldTyping treated TYPE_TEXT_VARIATION_URI like email, so the strip showed no suggestions and a swipe typed nothing. Gboard offers both there. What changed - FieldTyping: a URI field is now a word field (suggestions, next words, swipes) that never corrects, plus a new `exact` flag for it. Email (EMAIL_ADDRESS, WEB_EMAIL_ADDRESS) and password fields stay literal as before; languages without a typing model still have no swipe (unchanged). - KeyboardEngine, in an exact (URL) field: no autocorrection or highlighted fix (corrects is off), and nothing typed is changed behind your back: no double-space period, no text replacement on space or punctuation, no tap (nearby-letter) correction. - Spacing: a tapped suggestion goes in with a space, as Gboard's does in Chrome's omnibox (measured: "tea" + tap "tea" gives "tea "). Any joining mark typed next (. / - and the other SpaceRules.JOINERS) takes that space in a URL field, so "github" + pick + "." or "/" gives "github." / "github/", never "github /" (new SpaceRules.takesPickedSpace; elsewhere only clause marks do, as before). Swipes keep Hex's existing spacing: a space before the next swiped word, never a trailing space. Gboard's swipe spacing in the omnibox was not measured (injected strokes don't register as glides on the emulator). - README's field-kind paragraph says so. Removed behaviour: URI fields no longer type literally with an empty strip and no swipe. Verified on the Mac Studio (JDK 21): ./gradlew :app:testDebugUnitTest :app:assembleDebug :app:assemblePreview green. FieldTypingTest: URI and Chrome's omnibox (normal and incognito) read words, don't correct, are exact; email/password unchanged. InsertionTest: takesPickedSpace for clause marks and URL joiners. Not tried on a device or emulator. |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||