commit | ee511cc529bcbb8551af4313cf1d2bbf0362de14 | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Thu May 05 14:57:50 2011 -0700 |
committer | Gilles Debunne <debunne@google.com> | Thu May 12 15:20:30 2011 -0700 |
tree | f1169ca44902703e5e9767b2cc221386c43eada4 | |
parent | f605a5aae5856d0c6114f36659ff9e8c5f3b5c19 [diff] |
SuggestionSpans are preserved when picked. This is the exception case: text replacement should NOT remove SuggestionSpans when this is the result of a Suggestion pick in the popup. Save them and restore them after the text replacement. Only spans that entirely englobe the replaced region make sense after the text replacement. Change-Id: Ib18eb6437c3a63fd0e788ebd4565c8f42e83503b