Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paragraph word boundary unicode handling #541

Merged
merged 6 commits into from
May 5, 2023

Conversation

MatkovIvan
Copy link
Member

Proposed Changes

  • Another part of CharHelpers refactoring: adding CodePoint typealias
  • Adopted Android tests for paragraph.getWordBoundary
  • Removed isLetterOrDigit check from getWordBoundary since it is not correct for supplementary code units.
  • Added more TODOs in paragraph

Testing

Test: Run new tests from SkikoParagraphTest

@MatkovIvan MatkovIvan requested a review from dima-avdeev-jb May 4, 2023 11:19
@MatkovIvan MatkovIvan merged commit 1682d2f into jb-main May 5, 2023
@MatkovIvan MatkovIvan deleted the ivan.matkov/paragraph-word-boundary branch May 5, 2023 09:59
igordmn pushed a commit that referenced this pull request May 25, 2023
… paging-common

Test: ./gradlew test connectedCheck
Bug: 270612487

This is an imported pull request from androidx#541.

Resolves #541
Github-Pr-Head-Sha: 99ce679
GitOrigin-RevId: c4c19c2
Change-Id: I66f9840ea56220d06764e60f891a7c0b8a119bb1
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.

2 participants