Home
last modified time | relevance | path

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

/external/webkit/WebCore/editing/
Dhtmlediting.cpp411 String rebalancedString = string; in stringWithRebalancedWhitespace() local
413 rebalancedString.replace(noBreakSpace, ' '); in stringWithRebalancedWhitespace()
414 rebalancedString.replace('\n', ' '); in stringWithRebalancedWhitespace()
415 rebalancedString.replace('\t', ' '); in stringWithRebalancedWhitespace()
417 rebalancedString.replace(twoSpaces, pattern); in stringWithRebalancedWhitespace()
419 if (startIsStartOfParagraph && rebalancedString[0] == ' ') in stringWithRebalancedWhitespace()
420 rebalancedString.replace(0, 1, nbsp); in stringWithRebalancedWhitespace()
421 int end = rebalancedString.length() - 1; in stringWithRebalancedWhitespace()
422 if (endIsEndOfParagraph && rebalancedString[end] == ' ') in stringWithRebalancedWhitespace()
423 rebalancedString.replace(end, 1, nbsp); in stringWithRebalancedWhitespace()
[all …]
DCompositeEditCommand.cpp434 String rebalancedString = stringWithRebalancedWhitespace(string, in rebalanceWhitespaceAt() local
440 if (string != rebalancedString) in rebalanceWhitespaceAt()
441 replaceTextInNode(textNode, upstream, length, rebalancedString); in rebalanceWhitespaceAt()