Ignore whitespace when generating paste context

textStart/End offsets assume there is no inner whitespace so make
sure that is the case.

Bug: 69595
Change-Id: Ibfddaf94aaf7daedf05eec56821994f7f30ddd56
Merge "Ignore whitespace when generating paste context"