Home | History | Annotate | Download | only in WebCore

Lines Matching full:textiterator

6624         * editing/TextIterator.cpp:
6625 (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
6632 (WebCore::TextIterator::exitNode):
7613 The bug was that a TextIterator, when being used for selection preservation, must
7617 * editing/TextIterator.cpp:
7618 (WebCore::TextIterator::TextIterator): Renamed the boolean that we use for
7622 (WebCore::TextIterator::handleReplacedElement): Ditto.
7623 (WebCore::TextIterator::shouldRepresentNodeOffsetZero): Represent the
7626 (WebCore::TextIterator::shouldEmitSpaceBeforeAndAfterNode): We should emit
7629 (WebCore::TextIterator::handleNonTextNode): Use a renamed variable.
7630 * editing/TextIterator.h: Made shouldEmitSpaceBeforeAndAfterNode a member
7827 selection because of a TextIterator bug, and we would try to listify the same
7834 * editing/TextIterator.cpp:
7836 (WebCore::TextIterator::handleNonTextNode): Emit a space to represent a horizontal rule,
8446 Revert change for<rdar://problem/5279521> and add nil checks for the result of TextIterator::rangeFromLocationAndLength
8447 TextIterator::exitNode shouldn't require the m_lastTextNode to be true, but we can't change that without making the logic in _web_attributedStringFromRange match.
8448 We'll get that for free when we switch to use TextIterator in _web_attributedStringFromRange.
8452 * editing/TextIterator.cpp: (WebCore::TextIterator::exitNode): Re-added check for m_lastTextNode before emitting newline.
8773 * editing/TextIterator.cpp:
8774 (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
8818 * editing/TextIterator.cpp:
8819 (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
9276 * editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer):
9287 * editing/TextIterator.cpp:
9297 * editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer):
9873 * editing/TextIterator.cpp:
12853 * editing/TextIterator.cpp:
12856 * editing/TextIterator.h:
17038 * editing/TextIterator.cpp:
18790 * editing/TextIterator.cpp:
18791 (WebCore::TextIterator::exitNode): Previously emitted content shouldn't have
34340 * editing/TextIterator.cpp:
34344 * editing/TextIterator.h: Track the end of the range used to create
36638 * editing/TextIterator.cpp:
36639 (WebCore::TextIterator::advance): Don't call handleXXX functions or exitNode for
37310 instead of using TextIterator, which is more efficient.
38723 * editing/TextIterator.cpp:
42761 * editing/TextIterator.cpp:
42762 (WebCore::TextIterator::handleTextNode):
42763 (WebCore::TextIterator::handleTextBox):
44475 * editing/TextIterator.cpp:
44481 Iterate over nodes in reverse pre-order (TextIterator traverses in
44499 Create a TextIterator that emits content for replaced elements, if requested.
44500 * editing/TextIterator.h:
46945 * editing/TextIterator.cpp:
46946 (WebCore::TextIterator::TextIterator):
46947 (WebCore::TextIterator::handleReplacedElement): Emit
46949 (WebCore::TextIterator::representNodeOffsetZero): Emit
46953 (WebCore::TextIterator::rangeLength): Take in the new bool.
46954 (WebCore::TextIterator::rangeFromLocationAndLength): Ditto.
46959 * editing/TextIterator.h:
49370 A byproduct of this change is the elimination of RUNDFINDER vs CONTENT TextIterator. The
49390 * editing/TextIterator.cpp:
49391 (WebCore::TextIterator::TextIterator):
49394 (WebCore::TextIterator::advance):
49398 (WebCore::TextIterator::handleTextNode):
49399 (WebCore::TextIterator::handleTextBox):
49402 (WebCore::TextIterator::handleReplacedElement):
49407 (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
49408 (WebCore::TextIterator::representNodeOffsetZero):
49412 (WebCore::TextIterator::handleNonTextNode):
49415 (WebCore::TextIterator::exitNode):
49419 (WebCore::TextIterator::emitCharacter):
49421 (WebCore::TextIterator::emitText):
49433 (WebCore::TextIterator::rangeLength):
49436 * editing/TextIterator.h:
49438 Eliminated concept of RUNDFINDER vs CONTENT TextIterator.
49442 Eliminated concept of RUNDFINDER vs CONTENT TextIterator.
54047 This is because TextIterator emitted bad ranges for these line
54054 * editing/TextIterator.cpp:
54055 (WebCore::TextIterator::exitNode): Emit a position *inside*
56856 * editing/TextIterator.cpp:
59175 Also fixed a TextIterator destructive modification bug that I noticed along the
59189 (WebCore::Range::ownerDocument): New accessor, used by TextIterator to avoid
59193 * editing/TextIterator.cpp:
59194 (WebCore::TextIterator::subrange):
61307 * editing/TextIterator.cpp:
61308 (WebCore::TextIterator::advance): We used to not call exitNode for
61316 (WebCore::TextIterator::handleNonTextNode): Call shouldEmitNewlineBeforeNode.
61317 (WebCore::TextIterator::exitNode): Call shouldEmitNewlineAfterNode.
62278 * editing/TextIterator.cpp:
62279 (WebCore::TextIterator::handleTextNode):
62280 (WebCore::TextIterator::handleTextBox):
63568 * editing/TextIterator.cpp:
63570 We were creating a TextIterator with the default kind, but WordAwareIterator is designed to work
63894 * editing/TextIterator.cpp:
63895 (WebCore::TextIterator::rangeFromLocationAndLength): Use VisiblePositions
66918 * editing/TextIterator.cpp: