DescriptionUse characters (not code units) when computing value list positions
The value list position is updated by one for each character, and not
at all when spaces are skipped (collapsed). When assigning value list
positions, we are currently counting surrogates as two (on for each
code unit.)
Use the text metrics data to count the number of (non-collapsed)
characters instead.
BUG=597312, 594058
Committed: https://crrev.com/9331211c22aee7b499131aa1c58ce515deceeb45
Cr-Commit-Position: refs/heads/master@{#386305}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Drop offset* access in test #Patch Set 3 : Simplify the test some more. #
Depends on Patchset: Messages
Total messages: 12 (3 generated)
|