Ryan Vogel
dec4896a49
iOS: text replacements take the shortcut's leading capital
...
Hex inserted a text replacement exactly as stored, so "Brb" (typed with a capital,
or auto-capitalised at a sentence start) became "be right back" where Apple's
keyboard writes "Be right back".
Apple's keyboard (black box, iOS 27.2 sim, Messages, replacements brb -> "be right
back", mip -> "My iPhone", omw -> "On my way!"): "Brb" -> "Be right back" (typed or
auto-capitalised), "brb" -> "be right back", all caps "BRB" -> "be right back" (as
stored, not uppercased), and stored capitals always stay: "omw"/"OMW" -> "On my way!",
"mip"/"Mip"/"MIP" -> "My iPhone".
Hex now matches: the replacement's first letter is capitalised only when the
shortcut was typed with a leading capital and isn't all caps (a one-letter shortcut
counts as a leading capital), and only if that letter is lowercase in the stored
text; otherwise it goes in as stored. The same casing is used on space, on
punctuation, in the strip, with Autocorrect on or off and in bilingual autocorrect.
Verified: new AutocorrectEngineTests case (the eight cases above mid-sentence, the
strip, auto-capitalised at a sentence start with Autocorrect on and off); full
HEXMobileTests suite (469 tests) passes; live in Messages on an iOS 27.2 sim with
Hex: all eight cases and "brb" at a sentence start come out as on Apple's keyboard.
2026-11-21 02:18:15 -05:00
..
FullKeyboard
iOS: text replacements take the shortcut's leading capital
2026-11-21 02:18:15 -05:00
TypingLog
iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID ( #2139 )
2026-11-21 03:45:47 +00:00
AppleIntelligenceCleanupSettings.swift
ios: optional Apple Intelligence transcript cleanup (experiment) ( #1538 )
2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift
iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) ( #2119 )
2026-11-21 00:29:24 +00:00
AudioSessionControlling.swift
iOS: Hex's own recording mixes with other audio, and keyboard dictation asks paused audio to resume ( #2151 )
2026-11-21 06:58:47 +00:00
CleanupGuard.swift
iOS: Clean up what I say keeps names, and is on by default ( #2132 )
2026-11-21 03:12:53 +00:00
CleanupReconstruction.swift
iOS: clean up what I say with an on-device tagger (experiment) ( #2023 )
2026-11-20 01:29:41 +00:00
CleanupTagger.swift
iOS: Clean up what I say keeps names, and is on by default ( #2132 )
2026-11-21 03:12:53 +00:00
CleanupTokenizer.swift
iOS: clean up what I say with an on-device tagger (experiment) ( #2023 )
2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift
ios: custom vocabulary experiment ( #1547 )
2026-11-08 12:15:00 -05:00
DictationCorrections.swift
ios: learn dictation and typing fixes from edits (Learn how I type) ( #2022 )
2026-11-20 01:04:58 +00:00
DictationEditInference.swift
ios: learn dictation and typing fixes from edits (Learn how I type) ( #2022 )
2026-11-20 01:04:58 +00:00
DictationEditTracker.swift
ios: learn dictation and typing fixes from edits (Learn how I type) ( #2022 )
2026-11-20 01:04:58 +00:00
DictationLanguage.swift
iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect ( #2104 )
2026-11-20 22:08:01 +00:00
DictationLanguageSwitch.swift
iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) ( #2119 )
2026-11-21 00:29:24 +00:00
DictationPipeline.swift
iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar ( #2147 )
2026-11-21 06:24:16 +00:00
DictationTranslation.swift
iOS: fewer paste prompts, and a translate switch in the keyboard ( #2134 )
2026-11-21 03:24:58 +00:00
DotScope.swift
iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste ( #1999 )
2026-11-19 12:20:12 -05:00
DotScopeShader.metal
fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) ( #757 )
2026-10-31 22:14:22 -07:00
EmptyCapture.swift
iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) ( #2035 )
2026-11-20 13:21:16 +00:00
HexTheme.swift
fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) ( #757 )
2026-10-31 22:14:22 -07:00
HinglishLexicon.swift
iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) ( #2119 )
2026-11-21 00:29:24 +00:00
HinglishRomanizer.swift
iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) ( #2119 )
2026-11-21 00:29:24 +00:00
HomeSwipeCue.swift
fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) ( #757 )
2026-10-31 22:14:22 -07:00
KeyboardBridge.swift
iOS: onboarding follows the desktop flow ( #2136 )
2026-11-21 03:27:38 +00:00
KeyboardSurface.swift
iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar ( #2147 )
2026-11-21 06:24:16 +00:00
SpeechModelInstall.swift
iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" ( #2090 )
2026-11-20 20:06:14 +00:00
SpokenCleanupRules.swift
iOS: dictation styles apply in the keyboard and read differently, plus Lowercase ( #2103 )
2026-11-20 21:47:04 +00:00
SpokenLists.swift
iOS: format dictated lists, and write out gonna and wanna ( #2131 )
2026-11-21 03:01:16 +00:00
TranscriptFormatter.swift
iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar ( #2147 )
2026-11-21 06:24:16 +00:00
UserFacingError.swift
iOS: fewer paste prompts, and a translate switch in the keyboard ( #2134 )
2026-11-21 03:24:58 +00:00
VocabularySpelling.swift
ios: custom vocabulary experiment ( #1547 )
2026-11-08 12:15:00 -05:00