summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-09-25 12:50:16 -0700
committerRaph Levien <raph@google.com>2014-09-26 08:59:28 -0700
commitb1fef1114e31e35c90bc885fd9e8f9381895846f (patch)
tree1015938f9e1b7b4b0e9f8be77fa96d40c66baa22 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfdb35f0526e63dc4d6882d86029d9beacc6a2d07 (diff)
Defer spelling correction with apostrophe
When typing a contraction (such as "doesn't") we don't want a spell right after the apostrophe, as this will create a false temporary red underline, and the span split also breaks a kern pair causing text to shift. This patch detects the case where the cursor is immediately after such a word and suppresses correction in that case. Bug: 17641350 Change-Id: I4d09576a31df551c96f820242fd2cbc675506dae
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions