Make sure we check the most up to date text for the token offsets.

The issue here was that we were using the old version of the editable string
(cached in var text) to look for the start/end of tokens, but the result
of calling commitChip may have updated the text (added corrective rfc822
formatting, or a display name)

Fixes b/7268603 [Manta] List of email addresses pasted into the To field is broken

Change-Id: Iccc8dbf78a018c84fd818582d10ff2b02a787276
1 file changed
tree: 1e06377e4b978e675b05cb3cbb709d0416c37202
  2. carousel/
  3. chips/
  4. common/
  5. photoviewer/
  6. variablespeed/