fix(layout): recover mixed-case tracked words - #436
Open
yzxcj797 wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Shadow auto-approve: would not auto-approve because issues were found.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Shadow auto-approve: would auto-approve. Introduces a conservative heuristic to rejoin mixed-case tracked words (e.g., JohnDoe) while preserving lowercase spaced single-letter sequences and existing all-caps/CJK handling. The fix is focused, test-driven, and does not change any API or operational configuration.
Re-trigger cubic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
cargo test --target x86_64-pc-windows-gnucargo clippy --target x86_64-pc-windows-gnu -- -D warningscargo fmt --all -- --checkgit diff --checkSummary by cubic
Recover mixed-case glyph-per-letter tracking into words while preserving real word gaps. Previously, mixed-case runs (e.g., JohnDoe) split into 1–2 character fragments; now a conservative bimodal gap detector rejoins title-case words without changing lowercase spaced singles or existing all-caps/CJK behavior. Fixes #211.
Written for commit 87bd26d. Summary will update on new commits.