diff options
author | Gilles Debunne <debunne@google.com> | 2012-04-09 16:02:31 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2012-04-09 16:08:37 -0700 |
commit | 0249b43f6ce59bfec104f0fe606d9059244f8797 (patch) | |
tree | 46ceb7c3e6d10e03caace499a8231be9d1e0766f /graphics/java/android/renderscript/RenderScript.java | |
parent | 7405b90df43a4e2c544f17895158d07130e5922c (diff) |
Faster and simpler replace in SSB, take two
This is a new version of CL 179343 which had to be reverted.
This problem of the previous CL is that the ComposingSpan that
was part of the replacement text was correctly added during the
replace but was immediately removed because it had a zero-length
size.
Swapping the add and remove blocks solves the problem.
The new non-zero length enforcement also revealed a bug in the
spell checker where we were creating useless range spans.
Change-Id: I59cebd4708af3becc7ab625ae41bc36837f1a1cf
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions