Skip to content

Conversation

@mwcampbell
Copy link
Contributor

In the consumer crate, the functions for the text format unit now do something meaningful. This automatically translates to the format unit in UI Automation text ranges, though we're not yet exposing any attributes.

Also, we now expose word boundaries in terms of start character indices rather than lengths. This allows a single word to span text runs, as with the word "another " (including the trailing space) in the test case. This is the breaking change in this PR.

@DataTriny DataTriny merged commit ea23ec4 into main Oct 31, 2025
16 checks passed
@DataTriny DataTriny deleted the text-format-infra branch October 31, 2025 14:26
@DataTriny DataTriny mentioned this pull request Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants