DescriptionFix BreakingContext::rewindToMidWordBreak to set m_currentCharacterIsSpace
This patch fixes BreakingContext::rewindToMidWordBreak to set
m_currentCharacterIsSpace correctly when it rewinded m_current.
Not doing so sets previousCharacterIsSpace incorrectly, and can
collapse whitespaces that should not be collapsed.
BUG=639781
Committed: https://crrev.com/d5bcb937b6dd019905eb7bbd9834b1eb26213f2a
Cr-Commit-Position: refs/heads/master@{#418776}
Patch Set 1 #Patch Set 2 : WIP: midWordBreak #Patch Set 3 : Fix #
Messages
Total messages: 13 (8 generated)
|