[Sh-Blink] Autocomplete first and last words.
Update user selection range so that first and last words are complete words, otherwise TextFragmentFinder will not find a match. For example, where '[' and ']' indicates user selection. "samp[le text that user sel]ected" will be changed to "[sample text that user selected]" Bug: 1129647 Change-Id: I5e2274b0e1ed0cc240fcea39ffcc369ab29ce171 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424541 Commit-Queue: Gayane Petrosyan <gayane@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#810591}
Showing
Please register or sign in to comment