caretMaxOffset 596 Source/core/dom/Position.cpp PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; caretMaxOffset 656 Source/core/dom/Position.cpp return createLegacyEditingPosition(currentNode, renderer->caretMaxOffset()); caretMaxOffset 719 Source/core/dom/Position.cpp PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; caretMaxOffset 1027 Source/core/dom/Position.cpp WTF_LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffset(deprecatedNode())); caretMaxOffset 1028 Source/core/dom/Position.cpp WTF_LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxOffset(pos.deprecatedNode())); caretMaxOffset 1040 Source/core/dom/Position.cpp && thisRenderedOffset == caretMaxOffset(deprecatedNode()) && !posRenderedOffset) { caretMaxOffset 1045 Source/core/dom/Position.cpp && !thisRenderedOffset && posRenderedOffset == caretMaxOffset(pos.deprecatedNode())) { caretMaxOffset 1176 Source/core/dom/Position.cpp if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) caretMaxOffset 1187 Source/core/dom/Position.cpp int caretMaxOffset = box->caretMaxOffset(); caretMaxOffset 1189 Source/core/dom/Position.cpp if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset && box->isLineBreak())) caretMaxOffset 1192 Source/core/dom/Position.cpp if (caretOffset > caretMinOffset && caretOffset < caretMaxOffset) { caretMaxOffset 1197 Source/core/dom/Position.cpp if (((caretOffset == caretMaxOffset) ^ (affinity == DOWNSTREAM)) caretMaxOffset 1199 Source/core/dom/Position.cpp || (caretOffset == caretMaxOffset && box->nextLeafChild() && box->nextLeafChild()->isLineBreak())) caretMaxOffset 370 Source/core/editing/ApplyStyleCommand.cpp if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters. caretMaxOffset 687 Source/core/editing/ApplyStyleCommand.cpp if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { caretMaxOffset 694 Source/core/editing/ApplyStyleCommand.cpp if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) caretMaxOffset 1252 Source/core/editing/ApplyStyleCommand.cpp return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); caretMaxOffset 335 Source/core/editing/CompositeEditCommand.cpp else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { caretMaxOffset 534 Source/core/editing/CompositeEditCommand.cpp if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) caretMaxOffset 456 Source/core/editing/DeleteSelectionCommand.cpp if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { caretMaxOffset 458 Source/core/editing/DeleteSelectionCommand.cpp if (text->length() > (unsigned)caretMaxOffset(startNode)) caretMaxOffset 459 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); caretMaxOffset 520 Source/core/editing/DeleteSelectionCommand.cpp if (m_downstreamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(&n)) { caretMaxOffset 112 Source/core/editing/InsertLineBreakCommand.cpp } else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()->isTextNode()) { caretMaxOffset 397 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo)) caretMaxOffset 963 Source/core/editing/TextIterator.cpp int offset = caretMaxOffset(node); caretMaxOffset 1409 Source/core/editing/TextIterator.cpp m_offset = firstLetterRenderer->caretMaxOffset(); caretMaxOffset 156 Source/core/editing/VisiblePosition.cpp int caretMaxOffset = box->caretMaxOffset(); caretMaxOffset 158 Source/core/editing/VisiblePosition.cpp if (offset > caretMinOffset && offset < caretMaxOffset) caretMaxOffset 161 Source/core/editing/VisiblePosition.cpp if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { caretMaxOffset 195 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); caretMaxOffset 256 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); caretMaxOffset 321 Source/core/editing/VisiblePosition.cpp int caretMaxOffset = box->caretMaxOffset(); caretMaxOffset 323 Source/core/editing/VisiblePosition.cpp if (offset > caretMinOffset && offset < caretMaxOffset) caretMaxOffset 326 Source/core/editing/VisiblePosition.cpp if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { caretMaxOffset 360 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); caretMaxOffset 424 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); caretMaxOffset 95 Source/core/editing/VisibleUnits.cpp createLegacyEditingPosition(previousNode, caretMaxOffset(previousNode)); caretMaxOffset 386 Source/core/editing/VisibleUnits.cpp else if (offsetInBox == box->caretMaxOffset()) caretMaxOffset 1218 Source/core/editing/VisibleUnits.cpp offset = r->caretMaxOffset(); caretMaxOffset 940 Source/core/editing/htmlediting.cpp return n->renderer()->caretMaxOffset(); caretMaxOffset 78 Source/core/editing/htmlediting.h int caretMaxOffset(const Node*); caretMaxOffset 340 Source/core/page/DOMSelection.cpp if (offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->countChildren())) { caretMaxOffset 156 Source/core/rendering/InlineBox.cpp return renderer().caretMaxOffset(); caretMaxOffset 246 Source/core/rendering/InlineBox.h virtual int caretMaxOffset() const; caretMaxOffset 252 Source/core/rendering/InlineBox.h int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } caretMaxOffset 253 Source/core/rendering/InlineBox.h int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); } caretMaxOffset 154 Source/core/rendering/InlineTextBox.h virtual int caretMaxOffset() const OVERRIDE FINAL; caretMaxOffset 52 Source/core/rendering/RenderBR.h virtual int caretMaxOffset() const OVERRIDE; caretMaxOffset 2935 Source/core/rendering/RenderBlock.cpp return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset()); caretMaxOffset 2938 Source/core/rendering/RenderBlock.cpp return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? box->renderer().caretMinOffset() : box->renderer().caretMaxOffset()); caretMaxOffset 3093 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); caretMaxOffset 3097 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); caretMaxOffset 935 Source/core/rendering/RenderObject.h virtual int caretMaxOffset() const; caretMaxOffset 547 Source/core/rendering/RenderReplaced.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); // coordinates are below caretMaxOffset 579 Source/core/rendering/RenderText.cpp box->isLeftToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), shouldAffinityBeDownstream); caretMaxOffset 610 Source/core/rendering/RenderText.cpp box->isLeftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), shouldAffinityBeDownstream); caretMaxOffset 127 Source/core/rendering/RenderText.h virtual int caretMaxOffset() const OVERRIDE;