mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
With experiments.typingConfigs on and Full Access, FullKeyboardView.syncSettings loads
TypingConfigs/active.json through TypingConfigActive.current. It reads the file again only
when typingConfig.generation changes, through the same TypingConfigReview the app uses. A
missing or unreadable file is no config.
- Words: TypingLearning.adding layers the config's words on top of Learn how I type's learning
in memory, so nothing is written into what Hex learned and removing the config removes
exactly its words. What the person taught Hex themselves wins.
- Kept words count as their own and are offered.
- neverCorrectTo blocks space corrections, next-word revisions and merges into the word.
- Fixes are applied (learned-typo rules) or only offered.
- Dictation fixes join the keyboard's dictation corrections.
- Zones: rebuildLayout compiles the matching key block's zones (KeyboardLayout.zoneMap) into
per-key zoneRects. KeyboardKey.takes, hitTest and the next-letter odds' distances use them.
- Aim: syncDecoderKeys replaces the decoder's centre for the letters the config names, over
Learn how I type's average or Adaptive touch's centre; the baseline keys stay Learn how I
type's.
- Adaptive touch records no taps while a config has zones.
- Typing logs: layout lines record each key's gapHitFrame (the space bar's band of the gap,
which the logs lacked) and zoneRects. The hash includes zoneRects, and a typing_config
layout cause is added.
- Edits to the files at their size limit (FullKeyboardEngine, AutocorrectEngine,
KeyboardViewController) are line-for-line, apart from one stored property in
FullKeyboardEngine. Three private methods became internal for the new extension.
- docs/typing-configs.md is new; typing-logs.md documents the new layout fields.
Verified on the Studio (iPhone 17 Pro, iOS 27.2):
- With no config, the iOS typing gate (scripts/typing-gate.py run, en es de fr pl,
TEST_RUNNER_SWIFT_DETERMINISTIC_HASHING=1) gives byte-identical output-<lang>.json to the
merge base
|
||
| .. | ||
| AutocorrectEngine+Accents.swift | ||
| AutocorrectEngine+Dictionaries.swift | ||
| AutocorrectEngine+Distance.swift | ||
| AutocorrectEngine+Vocabulary.swift | ||
| AutocorrectEngine.swift | ||