[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}
Showing
Please register or sign in to comment