commit | 74d31ef2b2c42b54fa1f7cf94ea955ea67ab69a0 | [log] [tgz] |
---|---|---|
author | Eric Fischer <enf@google.com> | Thu Aug 05 15:29:36 2010 -0700 |
committer | Eric Fischer <enf@google.com> | Thu Aug 05 15:29:36 2010 -0700 |
tree | 9f3be4386fec6ba31db86ac8d1e6358334a17ea9 | |
parent | 507a4ea34038daa521036d4c820288b3166a0ed5 [diff] |
Fix a bug where paragraph styles could leak onto an adjacent empty line. When the text ends with an empty line, the getSpans() call to retrieve styles for it would also retrieve the styles of the preceding line. Add a special case to detect and prevent this. Change-Id: I888131cacce6bf45e68c53c931ebe8d58db0b7a9