Home | History | Annotate | Download | only in editing

Lines Matching defs:TextIterator

28 #include "TextIterator.h"
244 TextIterator::TextIterator()
264 TextIterator::TextIterator(const Range* r, TextIteratorBehavior behavior)
333 TextIterator::~TextIterator()
337 void TextIterator::advance()
445 bool TextIterator::handleTextNode()
516 void TextIterator::handleTextBox()
599 void TextIterator::handleTextNodeFirstLetter(RenderTextFragment* renderer)
619 bool TextIterator::handleReplacedElement()
670 bool TextIterator::hasVisibleTextNode(RenderText* renderer)
821 bool TextIterator::shouldRepresentNodeOffsetZero()
876 bool TextIterator::shouldEmitSpaceBeforeAndAfterNode(Node* node)
881 void TextIterator::representNodeOffsetZero()
901 bool TextIterator::handleNonTextNode()
913 void TextIterator::exitNode()
928 // TextIterator in _web_attributedStringFromRange.
952 void TextIterator::emitCharacter(UChar c, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOffset)
956 // remember information with which to construct the TextIterator::range()
963 // remember information with which to construct the TextIterator::characters() and length()
973 void TextIterator::emitText(Node* textNode, RenderObject* renderObject, int textStartOffset, int textEndOffset)
991 void TextIterator::emitText(Node* textNode, int textStartOffset, int textEndOffset)
996 PassRefPtr<Range> TextIterator::range() const
1016 Node* TextIterator::node() const
2266 int TextIterator::rangeLength(const Range* r, bool forSelectionPreservation)
2269 for (TextIterator it(r, forSelectionPreservation ? TextIteratorEmitsCharactersBetweenAllVisiblePositions : TextIteratorDefaultBehavior); !it.atEnd(); it.advance())
2275 PassRefPtr<Range> TextIterator::subrange(Range* entireRange, int characterOffset, int characterCount)
2281 PassRefPtr<Range> TextIterator::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, bool forSelectionPreservation)
2291 TextIterator it(rangeOfContents(scope).get(), forSelectionPreservation ? TextIteratorEmitsCharactersBetweenAllVisiblePositions : TextIteratorDefaultBehavior);
2380 bool TextIterator::locationAndLengthFromRange(const Range* range, size_t& location, size_t& length)
2403 location = TextIterator::rangeLength(testRange.get());
2408 length = TextIterator::rangeLength(testRange.get()) - location;
2430 for (TextIterator it(r, behavior); !it.atEnd(); it.advance()) {