DescriptionFix Views inline autocomplete with multi-char graphemes.
Allow RenderText selection bounds amid multi-char graphemes.
Add a consolidated IsValidLogicalIndex implementation.
(this is less strict than the renamed IsValidCursorIndex)
Use adjacent cursor positions in MoveCursor as needed.
(prevents invalid cursors when collapsing selections)
Skip painting empty glyph ranges on Windows.
Add a unit test; minor cleanup and comment changes.
BUG=327903, 366786
TEST=Search for "จำลอง" in the omnibox; enter "จ" and get a valid selection of the inline autocomplete text.
R=asvitkine@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267752
Patch Set 1 #Patch Set 2 : Add RenderText::IsValidLogicalIndex for SelectRange, etc. #Patch Set 3 : Find adjacent indices in MoveCursorTo as needed; renaming and cleanup. #Patch Set 4 : Skip painting empty glyph ranges; add unit test. #Patch Set 5 : Fix RenderTextPango behavior similarly. #Patch Set 6 : Consolidate IsValidLogicalIndex implementations. #
Total comments: 6
Patch Set 7 : Address comments. #
Total comments: 10
Patch Set 8 : Address comments. #Patch Set 9 : Extrapolate on the comment. #
Messages
Total messages: 17 (0 generated)
|