summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-05-12 11:09:37 -0700
committerMady Mellor <madym@google.com>2015-05-12 11:09:37 -0700
commit58c9087137989da8411ffd212072f630d3fac4f3 (patch)
treecbd28a234059a283e6538812eef0c05abe8118ef /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfb9a664b2bcb41844f1e00264ff5c5f18956a9fa (diff)
Fix issue where handle is in front of word rather than end of word
Previous getWordEnd and getWordStart functions would return a boundary rather than a word end / start boundary in some cases. This behavior is most evident when moving between short lines -- the handle would go to the next boundary rather than the word end on the next line (and the start handle would go to the word end rather than the word start on the prev line). This CL ensures that word or punctuation boundaries are returned and moves most of the punctuation boundary logic into WordIterator since it makes a bit more sense there. Bug: 21030788 Change-Id: I96c6aff7f2c213aa3c4f66ac87ca913ca16fd347
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions