This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Make DPAD movement consider grapheme clusters #17420
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
bec1116
Fix bug where cursor divides grapheme clusters with dpad
justinmc 36dad1d
Implement left arrow using new getOffsetBefore
justinmc aaba40d
getOffsetAfter adapted from getOffsetBefore
justinmc f863ebf
Test for left arrow, still trying to run, still need right arrow
justinmc 3c31ba4
Formatting and removing logs
justinmc ad96ee1
Fix start/end swapped bug
justinmc 8111d57
WIP right arrow test
justinmc faf1aef
WIP Trying to get getOffsetAfter working with right arrow test, proba…
justinmc fbc8d8c
WIP Seems to be working, needs cleanup
justinmc fc74a5c
Cleaned up and working
justinmc 152d897
Analyzer
justinmc c190209
Fix region indicator code and add a specific test for it
justinmc e496c51
Formatting and link to Android code in docs
justinmc bf5e516
Add a test for when the cursor is in the middle of a region indicator…
justinmc ccb4a53
Merge branch 'master' into dpad-grapheme
justinmc b5cbc4a
Merge branch 'master' into dpad-grapheme
justinmc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link the android logic that is also linked in
getOffsetBefore()? Will be helpful for future readers.