Home
last modified time | relevance | path

Searched refs:caretMaxOffset (Results 1 – 25 of 31) sorted by relevance

12

/external/webkit/Source/WebCore/editing/
DVisiblePosition.cpp130 int caretMaxOffset = box->caretMaxOffset(); in leftVisuallyDistinctCandidate() local
132 if (offset > caretMinOffset && offset < caretMaxOffset) in leftVisuallyDistinctCandidate()
135 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) { in leftVisuallyDistinctCandidate()
169 … offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate()
227 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); in leftVisuallyDistinctCandidate()
281 int caretMaxOffset = box->caretMaxOffset(); in rightVisuallyDistinctCandidate() local
283 if (offset > caretMinOffset && offset < caretMaxOffset) in rightVisuallyDistinctCandidate()
286 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) { in rightVisuallyDistinctCandidate()
320 … offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
379 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); in rightVisuallyDistinctCandidate()
DDeleteSelectionCommand.cpp441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
443 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete()
444 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete()
509 …treamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(n)) { in handleGeneralDelete()
Dvisible_units.cpp545 Position maxPos(n, caretMaxOffset(n)); in previousLinePosition()
870 offset = r->caretMaxOffset(); in endOfParagraph()
1161 …ThisBox ? previousWordBreak : Position(box->renderer()->node(), box->caretMaxOffset(), Position::P… in previousWordBreakInBoxInsideBlockWithSameDirectionality()
1184 return Position(node, box->caretMaxOffset(), Position::PositionIsOffsetInAnchor); in leftmostPositionInRTLBoxInLTRBlock()
1188 …return Position(previousLeaf->renderer()->node(), previousLeaf->caretMaxOffset(), Position::Positi… in leftmostPositionInRTLBoxInLTRBlock()
1209 return Position(node, box->caretMaxOffset(), Position::PositionIsOffsetInAnchor); in rightmostPositionInLTRBoxInRTLBlock()
1213 …return Position(nextLeaf->renderer()->node(), nextLeaf->caretMaxOffset(), Position::PositionIsOffs… in rightmostPositionInLTRBoxInRTLBlock()
1436 …return box == boxOfWordBreak && offsetOfWordBreak != box->caretMaxOffset() && offsetOfWordBreak !=… in positionIsInsideBox()
DInsertLineBreakCommand.cpp135 …} else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecate… in doApply()
Dhtmlediting.h77 int caretMaxOffset(const Node*);
DApplyStyleCommand.cpp347 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange()
663 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { in fixRangeAndApplyInlineStyle()
670 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) in fixRangeAndApplyInlineStyle()
1191 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node); in isValidCaretPositionInTextNode()
Dhtmlediting.cpp979 int caretMaxOffset(const Node* n) in caretMaxOffset() function
983 return n->renderer()->caretMaxOffset(); in caretMaxOffset()
DCompositeEditCommand.cpp176 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { in insertNodeAt()
358 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) in positionOutsideTabSpan()
DTextIterator.cpp812 int offset = caretMaxOffset(node); in maxOffsetIncludingCollapsedSpaces()
/external/webkit/Source/WebCore/dom/
DPosition.cpp526 …ble = m_anchorType == PositionIsAfterAnchor ? Position(m_anchorNode, caretMaxOffset(m_anchorNode.g… in upstream()
586 return Position(currentNode, renderer->caretMaxOffset()); in upstream()
648 …ble = m_anchorType == PositionIsAfterAnchor ? Position(m_anchorNode, caretMaxOffset(m_anchorNode.g… in downstream()
1080 …ineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) in getInlineBoxAndOffset()
1091 int caretMaxOffset = box->caretMaxOffset(); in getInlineBoxAndOffset() local
1093 …if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset in getInlineBoxAndOffset()
1096 if (caretOffset > caretMinOffset && caretOffset < caretMaxOffset) { in getInlineBoxAndOffset()
1101 if (((caretOffset == caretMaxOffset) ^ (affinity == DOWNSTREAM)) in getInlineBoxAndOffset()
/external/webkit/Source/WebCore/rendering/
DInlineBox.h272 virtual int caretMaxOffset() const;
279 …etLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); } in caretLeftmostOffset()
280 …int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOf… in caretRightmostOffset()
DRenderBR.cpp66 int RenderBR::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderBR
DRenderBR.h52 virtual int caretMaxOffset() const;
DInlineBox.cpp115 int InlineBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineBox
117 return m_renderer->caretMaxOffset(); in caretMaxOffset()
DRenderText.h111 virtual int caretMaxOffset() const;
DInlineTextBox.h133 virtual int caretMaxOffset() const;
DRenderReplaced.cpp294 return createVisiblePosition(caretMaxOffset(), DOWNSTREAM); // coordinates are below in positionForPoint()
DRenderObject.h737 virtual int caretMaxOffset() const;
DRenderText.cpp1399 int RenderText::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderText
DInlineTextBox.cpp1208 int InlineTextBox::caretMaxOffset() const in caretMaxOffset() function in WebCore::InlineTextBox
DRenderBlock.cpp4101 return Position(node(), start ? caretMinOffset() : caretMaxOffset()); in positionForBox()
4104 …renderer()->node(), start ? box->renderer()->caretMinOffset() : box->renderer()->caretMaxOffset()); in positionForBox()
4221 return createVisiblePosition(caretMaxOffset(), DOWNSTREAM); in positionForPoint()
DRenderObject.cpp2427 int RenderObject::caretMaxOffset() const in caretMaxOffset() function in WebCore::RenderObject
/external/webkit/Source/WebCore/page/
DDOMSelection.cpp353 …if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNo… in extend()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp2347 selection->anchorOffset(), caretMaxOffset(anchorNode)); in modifySelectionTextNavigationAxis()
2404 selection->extend(focusNode, caretMaxOffset(focusNode), ec); in modifySelectionTextNavigationAxis()
2454 selection->extend(focusNode, caretMaxOffset(focusNode), ec); in modifySelectionTextNavigationAxis()
2607 caretMaxOffset(nextAnchorNode), ec); in advanceAnchorNode()
2610 caretMaxOffset(nextAnchorNode), nextAnchorNode, in advanceAnchorNode()
2625 caretMaxOffset(nextAnchorNode), ec); in advanceAnchorNode()
/external/webkit/Source/WebCore/
DChangeLog-2005-12-1918203 (RenderBR::caretMaxOffset):
18224 (khtml::InlineBox::caretMaxOffset):
18234 (RenderObject::caretMaxOffset):
18242 (RenderReplaced::caretMaxOffset):
18252 (InlineTextBox::caretMaxOffset):
18258 (RenderText::caretMaxOffset):
18333 (DOM::NodeImpl::caretMaxOffset):
18369 (CharacterDataImpl::caretMaxOffset):

12