summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptGroup.java
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-05-14 09:17:41 -0700
committerMady Mellor <madym@google.com>2015-05-14 09:22:59 -0700
commit81fa3e89668c498d5314a64dfff71d0553f8c5f7 (patch)
tree1fe6ec6fe9314efb8aa371566b1bdab35cb96eee /rs/java/android/renderscript/ScriptGroup.java
parentdfdbc3a8918a698a69880816a59d9e5ca2ee185f (diff)
Text selection: Fix moving by character when should move by word
The code to restrict handles from crossing did not respect moving by word or by character. This CL checks the offset to see if it's crossing, and if it is, it restricts it to the line of the other handle and proceeds with determining the "actual" offset based on the activated mode by word / by char). There is also still a check to ensure that one character is selected after the mode as adjusted the offset. Bug: 21114827 Change-Id: Idac699ef2eb5d313e77d44b5064c03ff84e0fb88
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions