/external/webkit/Source/WebCore/editing/ |
MoveSelectionCommand.cpp | 51 && selectionEnd.containerNode() == pos.containerNode() && selectionEnd.offsetInContainerNode() < pos.offsetInContainerNode()) { 52 pos.moveToOffset(pos.offsetInContainerNode() - selectionEnd.offsetInContainerNode()); 56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode());
|
ApplyBlockElementCommand.cpp | 155 int offset = position.offsetInContainerNode(); 189 if (startStyle->preserveNewline() && isNewLineAtPosition(start) && !isNewLineAtPosition(start.previous()) && start.offsetInContainerNode() > 0) 193 if (!startStyle->collapseWhiteSpace() && start.offsetInContainerNode() > 0) { 194 int startOffset = start.offsetInContainerNode(); 198 ASSERT(end.offsetInContainerNode() >= startOffset); 199 end = Position(end.deprecatedNode(), end.offsetInContainerNode() - startOffset, Position::PositionIsOffsetInAnchor); 202 ASSERT(m_endOfLastParagraph.offsetInContainerNode() >= startOffset); 203 m_endOfLastParagraph = Position(m_endOfLastParagraph.deprecatedNode(), m_endOfLastParagraph.offsetInContainerNode() - startOffset, 214 && end.offsetInContainerNode() < end.containerNode()->maxCharacterOffset()) { 215 int endOffset = end.offsetInContainerNode(); [all...] |
InsertTextCommand.cpp | 88 replaceTextInNode(static_cast<Text*>(start.containerNode()), start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text); 90 Position endPosition(start.containerNode(), start.offsetInContainerNode() + text.length()); 169 const unsigned offset = startPosition.offsetInContainerNode(); 183 rebalanceWhitespaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.offsetInContainerNode());
|
ApplyStyleCommand.cpp | [all...] |
VisiblePosition.cpp | 548 unsigned offset = pos.anchorType() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNode() : 0; 635 return Range::create(s.containerNode()->document(), s.containerNode(), s.offsetInContainerNode(), e.containerNode(), e.offsetInContainerNode()); 656 r->setStart(p.containerNode(), p.offsetInContainerNode(), code); 666 r->setEnd(p.containerNode(), p.offsetInContainerNode(), code);
|
ReplaceSelectionCommand.cpp | [all...] |
DeleteSelectionCommand.cpp | 322 if (position.containerNode() == node->parentNode() && static_cast<unsigned>(position.offsetInContainerNode()) > node->nodeIndex()) 323 position.moveToOffset(position.offsetInContainerNode() - 1); 413 if (position.offsetInContainerNode() > offset + count) 414 position.moveToOffset(position.offsetInContainerNode() - count); 415 else if (position.offsetInContainerNode() > offset) [all...] |
CompositeEditCommand.cpp | 355 if (pos.offsetInContainerNode() <= caretMinOffset(pos.containerNode())) 358 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode())) 361 splitTextNodeContainingElement(static_cast<Text *>(pos.containerNode()), pos.offsetInContainerNode()); 446 rebalanceWhitespaceOnTextSubstring(static_cast<Text*>(node), position.offsetInContainerNode(), position.offsetInContainerNode()); 684 deleteTextFromNode(static_cast<Text*>(p.anchorNode()), p.offsetInContainerNode(), 1); [all...] |
SpellingCorrectionController.cpp | 387 int endOffset = position.offsetInContainerNode();
|
VisibleSelection.cpp | 212 searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), ec);
|
SelectionController.cpp | 287 ASSERT(position.offsetInContainerNode() >= 0); 288 unsigned positionOffset = static_cast<unsigned>(position.offsetInContainerNode()); [all...] |
htmlediting.cpp | [all...] |
/external/webkit/Source/WebCore/page/ |
DOMSelection.cpp | 113 return anchorPosition(visibleSelection()).offsetInContainerNode(); 131 return focusPosition(visibleSelection()).offsetInContainerNode(); 149 return basePosition(visibleSelection()).offsetInContainerNode(); 167 return extentPosition(visibleSelection()).offsetInContainerNode();
|
/external/webkit/Source/WebCore/dom/ |
Position.h | 86 int offsetInContainerNode() const
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebpage.cpp | [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebFrame.mm | 757 range->setStart(newStart.containerNode(), newStart.offsetInContainerNode(), exception); 758 range->setEnd(newStart.containerNode(), newStart.offsetInContainerNode(), exception); [all...] |