/external/webkit/Source/WebCore/editing/ |
D | ApplyBlockElementCommand.cpp | 155 int offset = position.offsetInContainerNode(); in isNewLineAtPosition() 189 …neAtPosition(start) && !isNewLineAtPosition(start.previous()) && start.offsetInContainerNode() > 0) in rangeForParagraphSplittingTextNodesIfNeeded() 193 if (!startStyle->collapseWhiteSpace() && start.offsetInContainerNode() > 0) { in rangeForParagraphSplittingTextNodesIfNeeded() 194 int startOffset = start.offsetInContainerNode(); in rangeForParagraphSplittingTextNodesIfNeeded() 198 ASSERT(end.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded() 199 …end = Position(end.deprecatedNode(), end.offsetInContainerNode() - startOffset, Position::Position… in rangeForParagraphSplittingTextNodesIfNeeded() 202 ASSERT(m_endOfLastParagraph.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded() 203 …ition(m_endOfLastParagraph.deprecatedNode(), m_endOfLastParagraph.offsetInContainerNode() - startO… in rangeForParagraphSplittingTextNodesIfNeeded() 214 && end.offsetInContainerNode() < end.containerNode()->maxCharacterOffset()) { in rangeForParagraphSplittingTextNodesIfNeeded() 215 int endOffset = end.offsetInContainerNode(); in rangeForParagraphSplittingTextNodesIfNeeded() [all …]
|
D | MoveSelectionCommand.cpp | 51 …ainerNode() == pos.containerNode() && selectionEnd.offsetInContainerNode() < pos.offsetInContainer… in doApply() 52 pos.moveToOffset(pos.offsetInContainerNode() - selectionEnd.offsetInContainerNode()); in doApply() 56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode()); in doApply()
|
D | InsertTextCommand.cpp | 88 …xt*>(start.containerNode()), start.offsetInContainerNode(), end.offsetInContainerNode() - start.of… in performTrivialReplace() 90 Position endPosition(start.containerNode(), start.offsetInContainerNode() + text.length()); in performTrivialReplace() 169 const unsigned offset = startPosition.offsetInContainerNode(); in input() 183 …tespaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.offsetInContai… in input()
|
D | ApplyStyleCommand.cpp | 1073 … ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); in removeInlineStyle() 1081 || s.offsetInContainerNode() >= lastOffsetInNode(s.containerNode())); in removeInlineStyle() 1125 …newEnd = Position(end.containerNode(), end.offsetInContainerNode() - start.offsetInContainerNode()… in splitTextAtStart() 1130 splitTextNode(text, start.offsetInContainerNode()); in splitTextAtStart() 1140 splitTextNode(text, end.offsetInContainerNode()); in splitTextAtEnd() 1144 …Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position… in splitTextAtEnd() 1154 …newEnd = Position(end.containerNode(), end.offsetInContainerNode() - start.offsetInContainerNode()… in splitTextElementAtStart() 1173 …Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position… in splitTextElementAtEnd() 1190 int offsetInText = position.offsetInContainerNode(); in isValidCaretPositionInTextNode() 1298 …updateStartEnd(shouldUpdateStart ? Position(nextElement, start.offsetInContainerNode(), Position::… in mergeEndWithNextIfIdentical() [all …]
|
D | VisiblePosition.cpp | 548 … offset = pos.anchorType() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNode() : 0; in characterAfter() 635 …erNode()->document(), s.containerNode(), s.offsetInContainerNode(), e.containerNode(), e.offsetInC… in makeRange() 656 r->setStart(p.containerNode(), p.offsetInContainerNode(), code); in setStart() 666 r->setEnd(p.containerNode(), p.offsetInContainerNode(), code); in setEnd()
|
D | DeleteSelectionCommand.cpp | 322 …nerNode() == node->parentNode() && static_cast<unsigned>(position.offsetInContainerNode()) > node-… in updatePositionForNodeRemoval() 323 position.moveToOffset(position.offsetInContainerNode() - 1); in updatePositionForNodeRemoval() 413 if (position.offsetInContainerNode() > offset + count) in updatePositionForTextRemoval() 414 position.moveToOffset(position.offsetInContainerNode() - count); in updatePositionForTextRemoval() 415 else if (position.offsetInContainerNode() > offset) in updatePositionForTextRemoval()
|
D | ReplaceSelectionCommand.cpp | 956 …if (insertionPos.containerNode()->isTextNode() && insertionPos.offsetInContainerNode() && !inserti… in doApply() 957 …ingElement(static_cast<Text*>(insertionPos.containerNode()), insertionPos.offsetInContainerNode()); in doApply() 1265 int textNodeOffset = insertPos.offsetInContainerNode(); in insertAsListItems() 1330 …xt*>(start.containerNode()), start.offsetInContainerNode(), end.offsetInContainerNode() - start.of… in performTrivialReplace() 1332 …end = Position(start.containerNode(), start.offsetInContainerNode() + text.length(), Position::Pos… in performTrivialReplace()
|
D | CompositeEditCommand.cpp | 355 if (pos.offsetInContainerNode() <= caretMinOffset(pos.containerNode())) in positionOutsideTabSpan() 358 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) in positionOutsideTabSpan() 361 …itTextNodeContainingElement(static_cast<Text *>(pos.containerNode()), pos.offsetInContainerNode()); in positionOutsideTabSpan() 446 …TextSubstring(static_cast<Text*>(node), position.offsetInContainerNode(), position.offsetInContain… in rebalanceWhitespaceAt() 684 deleteTextFromNode(static_cast<Text*>(p.anchorNode()), p.offsetInContainerNode(), 1); in removePlaceholderAt()
|
D | SpellingCorrectionController.cpp | 387 int endOffset = position.offsetInContainerNode(); in respondToChangedSelection()
|
D | VisibleSelection.cpp | 212 searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), ec); in makeSearchRange()
|
D | SelectionController.cpp | 287 ASSERT(position.offsetInContainerNode() >= 0); in shouldRemovePositionAfterAdoptingTextReplacement() 288 unsigned positionOffset = static_cast<unsigned>(position.offsetInContainerNode()); in shouldRemovePositionAfterAdoptingTextReplacement()
|
D | htmlediting.cpp | 1008 unsigned offset = position.offsetInContainerNode(); in lineBreakExistsAtPosition()
|
/external/webkit/Source/WebCore/page/ |
D | DOMSelection.cpp | 113 return anchorPosition(visibleSelection()).offsetInContainerNode(); in anchorOffset() 131 return focusPosition(visibleSelection()).offsetInContainerNode(); in focusOffset() 149 return basePosition(visibleSelection()).offsetInContainerNode(); in baseOffset() 167 return extentPosition(visibleSelection()).offsetInContainerNode(); in extentOffset()
|
/external/webkit/Source/WebCore/dom/ |
D | Position.h | 86 int offsetInContainerNode() const in offsetInContainerNode() function
|
/external/webkit/Source/WebKit/qt/Api/ |
D | qwebpage.cpp | 1110 int cursorPos = frame->selection()->extent().offsetInContainerNode(); in inputMethodEvent() 1414 return QVariant(frame->selection()->end().offsetInContainerNode()); in inputMethodQuery() 1415 return QVariant(frame->selection()->extent().offsetInContainerNode()); in inputMethodQuery() 1422 …text.remove(range->startPosition().offsetInContainerNode(), TextIterator::rangeLength(range.get())… in inputMethodQuery() 1429 int start = frame->selection()->start().offsetInContainerNode(); in inputMethodQuery() 1430 int end = frame->selection()->end().offsetInContainerNode(); in inputMethodQuery() 1439 return QVariant(frame->selection()->start().offsetInContainerNode()); in inputMethodQuery() 1440 return QVariant(frame->selection()->base().offsetInContainerNode()); in inputMethodQuery()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebFrame.mm | 757 range->setStart(newStart.containerNode(), newStart.offsetInContainerNode(), exception); 758 range->setEnd(newStart.containerNode(), newStart.offsetInContainerNode(), exception);
|
/external/webkit/Source/WebKit/mac/ |
D | ChangeLog | 1982 use containerNode() and offsetInContainerNode() instead of deprecated member functions.
|
/external/webkit/Source/WebCore/ |
D | ChangeLog | 50384 …(WebCore::makeSearchRange): Call containerNode() and offsetInContainerNode() instead of deprecated… 50390 …* page/DOMSelection.cpp: Call containerNode() and offsetInContainerNode() instead of deprecatedNod…
|
D | ChangeLog-2009-06-16 | 198 offsetInContainerNode to return the caret offset, since the former 23724 (WebCore::Position::offsetInContainerNode):
|
D | ChangeLog-2010-01-29 | 12453 offsetInContainerNode(), since we are not sure this is always
|
D | ChangeLog-2010-12-06 | 10360 So far we were using offsetInContainerNode() to calculate the
|