commit | d60da058c6a9a63ef7347685f39a9dedebbc6afa | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Wed Apr 18 15:12:20 2012 -0700 |
committer | Gilles Debunne <debunne@google.com> | Wed Apr 18 15:12:22 2012 -0700 |
tree | 42d3958d44215e9ad6fa6cdc6386b2eb08eb8691 | |
parent | 90985286442340b9ad9433d6bf8d51702c8d0fd9 [diff] |
Do not notify text watchers when replace is a no-op Bug 6344997 The early exit we used to do when both replaced and replacement strings were empty has been added back. Only this time it correctly also makes sure no spans from the replacement string would get added with a 0-length. Change-Id: Ifc38a7e3619c57aa7647c0a8e63d7627d86f1036