Fix resuming from selection that ended in space in Select-to-Speak
Previously, at the end of a nodeGroup, we use the trimmed text of the nodeGroup to update currentCharIndex_. This approach causes issues when the user resumes from selection that ended in space. Bug: 1167435 Change-Id: Ifa74c459100f6fd444f6200b09eec1fe2f2b4042 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638917Reviewed-by:Katie Dektar <katie@chromium.org> Commit-Queue: Lei Shi <leileilei@google.com> Cr-Commit-Position: refs/heads/master@{#845339}
Showing
Please register or sign in to comment