Chromium Code Reviews
Description[TTS] Fix expanding selection at end of some lines
Fixes a bug where the resolved term isn't always selected in the text.
The case fixed is due to the selection including a trailing space
when at the end of a line. It's unclear why the trailing space is
included in the selection. We simply trim the trailing space.
BUG=726767
Review-Url: https://codereview.chromium.org/2910713002
Cr-Commit-Position: refs/heads/master@{#476506}
Committed: https://chromium.googlesource.com/chromium/src/+/08060b17bf13ffc5bd17f6d863727a2cfa834119
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added a trim() to the original selection too. #Patch Set 3 : Rebase only #Messages
Total messages: 14 (8 generated)
|