/macosx-10.10/WebCore-7600.1.25/editing/ |
H A D | VisiblePosition.cpp | 141 int caretMaxOffset = box->caretMaxOffset(); local 143 if (offset > caretMinOffset && offset < caretMaxOffset) 146 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { 180 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); 241 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); 306 int caretMaxOffset = box->caretMaxOffset(); local 308 if (offset > caretMinOffset && offset < caretMaxOffset) 311 if (box->isLeftToRightDirection() ? offset > caretMaxOffset [all...] |
H A D | InsertLineBreakCommand.cpp | 136 } else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()->isTextNode()) {
|
H A D | DeleteSelectionCommand.cpp | 467 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { 469 if (text->length() > (unsigned)caretMaxOffset(startNode)) 470 deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); 531 if (m_downstreamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(n)) {
|
H A D | htmlediting.h | 83 int caretMaxOffset(const Node*);
|
H A D | InsertParagraphSeparatorCommand.cpp | 380 if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo))
|
H A D | ApplyStyleCommand.cpp | 373 if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters. 690 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { 697 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) 1271 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node);
|
H A D | VisibleUnits.cpp | 90 createLegacyEditingPosition(previousNode, caretMaxOffset(previousNode)); 380 else if (offsetInBox == box->caretMaxOffset()) 1236 offset = r->caretMaxOffset();
|
H A D | htmlediting.cpp | 1033 int caretMaxOffset(const Node* n) function in namespace:WebCore 1037 return n->renderer()->caretMaxOffset();
|
H A D | CompositeEditCommand.cpp | 383 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { 627 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode()))
|
H A D | TextIterator.cpp | 910 int offset = caretMaxOffset(&node);
|
/macosx-10.10/WebCore-7600.1.25/rendering/ |
H A D | RenderTextLineBoxes.h | 62 int caretMaxOffset(const RenderText&) const;
|
H A D | RenderLineBreak.h | 66 virtual int caretMaxOffset() const override;
|
H A D | InlineBox.cpp | 168 int InlineBox::caretMaxOffset() const function in class:WebCore::InlineBox 170 return m_renderer.caretMaxOffset();
|
H A D | InlineBox.h | 219 virtual int caretMaxOffset() const; 225 int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } 226 int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); }
|
H A D | InlineTextBox.h | 148 virtual int caretMaxOffset() const override final;
|
H A D | RenderLineBreak.cpp | 121 int RenderLineBreak::caretMaxOffset() const function in class:WebCore::RenderLineBreak
|
H A D | RenderText.h | 123 virtual int caretMaxOffset() const override;
|
H A D | RenderTextLineBoxes.cpp | 222 int RenderTextLineBoxes::caretMaxOffset(const RenderText& renderer) const function in class:WebCore::RenderTextLineBoxes 358 box.isLeftToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), shouldAffinityBeDownstream); 389 box.isLeftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), shouldAffinityBeDownstream);
|
H A D | RenderReplaced.cpp | 523 return createVisiblePosition(caretMaxOffset(), DOWNSTREAM); // coordinates are below
|
H A D | RenderText.cpp | 1305 int RenderText::caretMaxOffset() const function in class:WebCore::RenderText 1309 return m_lineBoxes.caretMaxOffset(*this);
|
H A D | RenderObject.h | 842 virtual int caretMaxOffset() const;
|
H A D | InlineTextBox.cpp | 1341 int InlineTextBox::caretMaxOffset() const function in class:WebCore::InlineTextBox
|
H A D | RenderBlockFlow.cpp | 3218 return createLegacyEditingPosition(nonPseudoElement(), start ? caretMinOffset() : caretMaxOffset()); 3221 return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? box->renderer().caretMinOffset() : box->renderer().caretMaxOffset());
|
/macosx-10.10/WebCore-7600.1.25/dom/ |
H A D | Position.cpp | 576 PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; 640 //ASSERT(currentOffset >= renderer->caretMaxOffset()); 641 return createLegacyEditingPosition(currentNode, renderer->caretMaxOffset()); 703 PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; 1030 LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffset(deprecatedNode())); 1031 LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxOffset(pos.deprecatedNode())); 1043 && thisRenderedOffset == caretMaxOffset(deprecatedNode()) && !posRenderedOffset) { 1048 && !thisRenderedOffset && posRenderedOffset == caretMaxOffset(pos.deprecatedNode())) { 1172 int caretMaxOffset = box->caretMaxOffset(); local [all...] |
/macosx-10.10/WebCore-7600.1.25/page/ |
H A D | DOMSelection.cpp | 340 if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNodeCount())) {
|