Searched refs:rebalancedString (Results 1 – 2 of 2) sorted by relevance
369 Vector<UChar> rebalancedString; in stringWithRebalancedWhitespace() local370 append(rebalancedString, string); in stringWithRebalancedWhitespace()373 for (size_t i = 0; i < rebalancedString.size(); i++) { in stringWithRebalancedWhitespace()374 if (!isWhitespace(rebalancedString[i])) { in stringWithRebalancedWhitespace()379 …usCharacterWasSpace || (!i && startIsStartOfParagraph) || (i + 1 == rebalancedString.size() && end… in stringWithRebalancedWhitespace()380 rebalancedString[i] = noBreakSpace; in stringWithRebalancedWhitespace()383 rebalancedString[i] = ' '; in stringWithRebalancedWhitespace()389 return String::adopt(rebalancedString); in stringWithRebalancedWhitespace()
471 String rebalancedString = stringWithRebalancedWhitespace(string, in rebalanceWhitespaceOnTextSubstring() local477 if (string != rebalancedString) in rebalanceWhitespaceOnTextSubstring()478 replaceTextInNode(textNode, upstream, length, rebalancedString); in rebalanceWhitespaceOnTextSubstring()