Home | History | Annotate | Download | only in editing

Lines Matching refs:TextIterator

28 #include "TextIterator.h"
248 TextIterator::TextIterator()
262 TextIterator::TextIterator(const Range* r, bool emitCharactersBetweenAllVisiblePositions, bool enterTextControls)
325 void TextIterator::advance()
430 bool TextIterator::handleTextNode()
480 void TextIterator::handleTextBox()
552 bool TextIterator::handleReplacedElement()
737 bool TextIterator::shouldRepresentNodeOffsetZero()
792 bool TextIterator::shouldEmitSpaceBeforeAndAfterNode(Node* node)
797 void TextIterator::representNodeOffsetZero()
817 bool TextIterator::handleNonTextNode()
829 void TextIterator::exitNode()
844 // TextIterator in _web_attributedStringFromRange.
868 void TextIterator::emitCharacter(UChar c, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOffset)
872 // remember information with which to construct the TextIterator::range()
879 // remember information with which to construct the TextIterator::characters() and length()
889 void TextIterator::emitText(Node* textNode, int textStartOffset, int textEndOffset)
907 PassRefPtr<Range> TextIterator::range() const
927 Node* TextIterator::node() const
1991 int TextIterator::rangeLength(const Range* r, bool forSelectionPreservation)
1994 for (TextIterator it(r, forSelectionPreservation); !it.atEnd(); it.advance())
2000 PassRefPtr<Range> TextIterator::subrange(Range* entireRange, int characterOffset, int characterCount)
2006 PassRefPtr<Range> TextIterator::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, bool forSelectionPreservation)
2016 TextIterator it(rangeOfContents(scope).get(), forSelectionPreservation);
2110 for (TextIterator it(r); !it.atEnd(); it.advance()) {