Cherry-pick: Don't extend delete selection from zero.

This cherry-pick applied cleanly, with the exception of a conflict
in the test.

This cherry-pick should only be landed after:


Original description:

Don't extend delete selection from zero.

The previous fix ensured that trying to delete something actually did delete something but ended up also ensuring deletion even when trying to delete nothing.  Now we don't attempt to extend the range when the requested range started at zero.


Change-Id: I504516c4a8e78bc44fcdaea2ee72c4969f148f77
2 files changed