Home
last modified time | relevance | path

Searched refs:rebalancedString (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/editing/
Dhtmlediting.cpp369 Vector<UChar> rebalancedString; in stringWithRebalancedWhitespace() local
370 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()
DCompositeEditCommand.cpp471 String rebalancedString = stringWithRebalancedWhitespace(string, in rebalanceWhitespaceOnTextSubstring() local
477 if (string != rebalancedString) in rebalanceWhitespaceOnTextSubstring()
478 replaceTextInNode(textNode, upstream, length, rebalancedString); in rebalanceWhitespaceOnTextSubstring()