summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-06-26 14:28:12 -0700
committerMady Mellor <madym@google.com>2015-06-26 14:28:12 -0700
commita526683d123abdd4c2a54f8a4482c4a71a35b301 (patch)
treee8195354fa1c418ae6e3effafa991a958e1f2094 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6356d3b2504cefce59761d67b642ae37f8ba2d8b (diff)
Text selection: fix snapping to words when words break across lines
Some languages do break words across lines and words can break between lines with hyphenation. If a word has only one character on the current line with the rest of the characters on the next line, the user would be unable to move the cursor to the end of the word. Rather than judging if a user is far enough into a word by using the full word length, this CL amends the logic to only use the characters that are on the current line of the word, if the user is far enough into these characters the handle jumps to the next line to the end of the word position. Bug: 21400624 Change-Id: I8b96eb83bea08d9794d1e9db74066bcc3e168ac0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions