Home
last modified time | relevance | path

Searched refs:TextIterator (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextCheckingHelper.cpp147 return TextIterator::rangeLength(paragraphRange().get()); in rangeLength()
161 return TextIterator::subrange(paragraphRange().get(), characterOffset, characterCount); in subrange()
171 return TextIterator::rangeLength(range.get()); in offsetTo()
202 m_checkingStart = TextIterator::rangeLength(offsetAsRange().get()); in checkingStart()
210 m_checkingEnd = checkingStart() + TextIterator::rangeLength(checkingRange().get()); in checkingEnd()
218 m_checkingLength = TextIterator::rangeLength(checkingRange().get()); in checkingLength()
264 …RefPtr<Range> misspellingRange = TextIterator::subrange(m_range.get(), currentChunkOffset + misspe… in findFirstMisspelling()
311 int totalRangeLength = TextIterator::rangeLength(paragraphRange.get()); in findFirstMisspellingOrBadGrammar()
315 int rangeStartOffset = TextIterator::rangeLength(offsetAsRange.get()); in findFirstMisspellingOrBadGrammar()
322 int currentLength = TextIterator::rangeLength(paragraphRange.get()); in findFirstMisspellingOrBadGrammar()
[all …]
DTextIterator.h87 class TextIterator {
89 explicit TextIterator(const Range*, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
90 ~TextIterator();
329 TextIterator m_textIterator;
372 TextIterator m_textIterator;
DTextIterator.cpp241 TextIterator::TextIterator(const Range* range, TextIteratorBehaviorFlags behavior) in TextIterator() function in WebCore::TextIterator
308 TextIterator::~TextIterator() in ~TextIterator()
312 void TextIterator::advance() in advance()
500 UChar TextIterator::characterAt(unsigned index) const in characterAt()
515 String TextIterator::substring(unsigned position, unsigned length) const in substring()
529 void TextIterator::appendTextToStringBuilder(StringBuilder& builder, unsigned position, unsigned ma… in appendTextToStringBuilder()
542 bool TextIterator::handleTextNode() in handleTextNode()
614 void TextIterator::handleTextBox() in handleTextBox()
713 void TextIterator::handleTextNodeFirstLetter(RenderTextFragment* renderer) in handleTextNodeFirstLetter()
730 bool TextIterator::handleReplacedElement() in handleReplacedElement()
[all …]
DPlainTextRange.cpp81TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), getRangeFor == ForSelec… in createRangeFor()
176 size_t start = TextIterator::rangeLength(testRange.get()); in create()
180 size_t end = TextIterator::rangeLength(testRange.get()); in create()
DTextIteratorTest.cpp87 TextIterator textIterator(range.get(), iteratorBehavior); in iterate()
DCompositeEditCommand.cpp1195 startIndex = TextIterator::rangeLength(startRange.get(), true); in moveParagraphs()
1201 endIndex = TextIterator::rangeLength(endRange.get(), true); in moveParagraphs()
1262 destinationIndex = TextIterator::rangeLength(startToDestinationRange.get(), true); in moveParagraphs()
DSpellChecker.cpp289 …RefPtr<Range> badGrammarRange = TextIterator::subrange(grammarSearchRange.get(), grammarPhraseOffs… in advanceToNextMisspelling()
298 …RefPtr<Range> misspellingRange = TextIterator::subrange(spellingSearchRange.get(), misspellingOffs… in advanceToNextMisspelling()
DVisibleUnits.cpp468 TextIterator forwardsIterator(forwardsScanRange.get()); in previousBoundary()
562 TextIterator it(searchRange.get(), TextIteratorEmitsCharactersBetweenAllVisiblePositions); in nextBoundary()
DApplyStyleCommand.cpp259 int startIndex = TextIterator::rangeLength(startRange.get(), true); in applyBlockStyle()
260 int endIndex = TextIterator::rangeLength(endRange.get(), true); in applyBlockStyle()
Dhtmlediting.cpp1065 return TextIterator::rangeLength(range.get(), true); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DWidthIterator.h87 template <typename TextIterator>
88 inline unsigned advanceInternal(TextIterator&, GlyphBuffer*);
DWidthIterator.cpp139 template <typename TextIterator>
140 inline unsigned WidthIterator::advanceInternal(TextIterator& textIterator, GlyphBuffer* glyphBuffer) in advanceInternal()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarkerController.cpp87 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addMarker()
96 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addMarker()
105 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addMarker()
126 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addTextMatchMarker()
150 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in removeMarkers()
/external/chromium_org/third_party/WebKit/Source/web/mac/
DWebSubstringUtil.mm45 #include "core/editing/TextIterator.h"
75 for (TextIterator it(range.get()); !it.atEnd() && [string length] < length; it.advance()) {
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp336 return TextIterator::rangeLength(range.get()); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXRenderObject.cpp1767 return TextIterator::rangeLength(range.get()); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/web/
DWebFrameImpl.cpp232 for (TextIterator it(range.get()); !it.atEnd(); it.advance()) { in frameContentAsPlainText()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-arm.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.linux-x86.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.linux-mips.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-arm.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-x86.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-mips.mk267 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dcore.gypi951 'editing/TextIterator.cpp',
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp577 return TextIterator::rangeLength(range.get(), true); in textDistance()