/external/webkit/WebCore/dom/ |
PositionIterator.h | 48 , m_nodeAfterPositionInAnchor(m_anchorNode->childNode(pos.deprecatedEditingOffset())) 49 , m_offsetInAnchor(m_nodeAfterPositionInAnchor ? 0 : pos.deprecatedEditingOffset())
|
Position.h | 96 int deprecatedEditingOffset() const 192 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset();
|
Position.cpp | 843 if (m_offset == pos.deprecatedEditingOffset()) 847 if (m_offset != pos.deprecatedEditingOffset()) [all...] |
Range.cpp | 97 // FIXME: we shouldn't be using deprecatedEditingOffset here 98 return adoptRef(new Range(ownerDocument, start.node(), start.deprecatedEditingOffset(), end.node(), end.deprecatedEditingOffset())); [all...] |
/external/webkit/WebCore/editing/ |
MoveSelectionCommand.cpp | 51 int positionOffset = m_position.deprecatedEditingOffset(); 53 int selectionEndOffset = selectionEnd.deprecatedEditingOffset(); 58 positionOffset += selectionStart.deprecatedEditingOffset();
|
BreakBlockquoteCommand.cpp | 115 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { 118 } else if (pos.deprecatedEditingOffset() > 0) 119 splitTextNode(textNode, pos.deprecatedEditingOffset()); 120 } else if (pos.deprecatedEditingOffset() > 0) { 121 Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset());
|
DeleteSelectionCommand.cpp | 316 if (node->parent() == position.node() && node->nodeIndex() < (unsigned)position.deprecatedEditingOffset()) 317 position = Position(position.node(), position.deprecatedEditingOffset() - 1); 383 if (position.deprecatedEditingOffset() > offset + count) 384 position = Position(position.node(), position.deprecatedEditingOffset() - count); 385 else if (position.deprecatedEditingOffset() > offset) 403 int startOffset = m_upstreamStart.deprecatedEditingOffset(); 432 } else if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) { 436 deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); 438 removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset()); 469 ASSERT(node->nodeIndex() < (unsigned)m_downstreamEnd.deprecatedEditingOffset()); [all...] |
InsertTextCommand.cpp | 92 replaceTextInNode(static_cast<Text*>(start.node()), start.deprecatedEditingOffset(), end.deprecatedEditingOffset() - start.deprecatedEditingOffset(), text); 94 Position endPosition(start.node(), start.deprecatedEditingOffset() + text.length()); 171 int offset = startPosition.deprecatedEditingOffset(); 223 unsigned int offset = insertPos.deprecatedEditingOffset();
|
InsertLineBreakCommand.cpp | 121 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.node())) { 131 } else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.node()) || !pos.node()->isTextNode()) { 137 splitTextNode(textNode, pos.deprecatedEditingOffset());
|
InsertParagraphSeparatorCommand.cpp | 263 refNode = startBlock->childNode(insertionPosition.deprecatedEditingOffset()); 319 replaceTextInNode(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 325 bool atEnd = (unsigned)insertionPosition.deprecatedEditingOffset() >= textNode->length(); 326 if (insertionPosition.deprecatedEditingOffset() > 0 && !atEnd) { 327 splitTextNode(textNode, insertionPosition.deprecatedEditingOffset()); 354 if (insertionPosition.deprecatedEditingOffset() >= caretMaxOffset(n))
|
ApplyStyleCommand.cpp | 705 if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters. [all...] |
TypingCommand.cpp | 473 if (granularity == CharacterGranularity && selectionToDelete.end().node() == selectionToDelete.start().node() && selectionToDelete.end().deprecatedEditingOffset() - selectionToDelete.start().deprecatedEditingOffset() > 1) { 538 if (downstreamEnd.node() && downstreamEnd.node()->renderer() && downstreamEnd.node()->renderer()->isTable() && downstreamEnd.deprecatedEditingOffset() == 0) { 561 extraCharacters = selectionToDelete.end().deprecatedEditingOffset() - selectionToDelete.start().deprecatedEditingOffset(); 563 extraCharacters = selectionToDelete.end().deprecatedEditingOffset(); 564 extent = Position(extent.node(), extent.deprecatedEditingOffset() + extraCharacters);
|
visible_units.cpp | 102 forwardsScanRange->setStart(end.node(), end.deprecatedEditingOffset(), ec); 116 searchRange->setStart(start.node(), start.deprecatedEditingOffset(), ec); 117 searchRange->setEnd(end.node(), end.deprecatedEditingOffset(), ec); 193 backwardsScanRange->setEnd(start.node(), start.deprecatedEditingOffset(), ec); 208 searchRange->setStart(start.node(), start.deprecatedEditingOffset(), ec); 389 if (p.node()->renderer() && p.node()->renderer()->isRenderBlock() && p.deprecatedEditingOffset() == 0) 436 if (p.deprecatedEditingOffset() > c.deepEquivalent().deprecatedEditingOffset() && p.node()->isSameNode(c.deepEquivalent().node())) { 457 if (p.node()->renderer() && p.node()->renderer()->isRenderBlock() && p.deprecatedEditingOffset() == 0) 683 Node* n = nextLeafWithSameEditability(node, p.deprecatedEditingOffset()); [all...] |
CompositeEditCommand.cpp | 161 int offset = p.deprecatedEditingOffset(); 345 if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.node())) 348 if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.node())) 351 splitTextNodeContainingElement(static_cast<Text *>(pos.node()), pos.deprecatedEditingOffset()); 410 int offset = position.deprecatedEditingOffset(); 467 replaceTextInNode(static_cast<Text*>(previous.node()), previous.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 469 replaceTextInNode(static_cast<Text*>(position.node()), position.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 560 int startOffset = node == start.node() ? start.deprecatedEditingOffset() : 0; 561 int endOffset = node == end.node() ? end.deprecatedEditingOffset() : textNode->length(); 825 deleteTextFromNode(textNode, position.deprecatedEditingOffset(), 1) [all...] |
VisiblePosition.cpp | 523 unsigned offset = pos.deprecatedEditingOffset(); 584 fprintf(stderr, "Position [%s]: %s [%p] at %d\n", msg, m_deepPosition.node()->nodeName().utf8().data(), m_deepPosition.node(), m_deepPosition.deprecatedEditingOffset()); 608 return Range::create(s.node()->document(), s.node(), s.deprecatedEditingOffset(), e.node(), e.deprecatedEditingOffset()); 629 r->setStart(p.node(), p.deprecatedEditingOffset(), code); 639 r->setEnd(p.node(), p.deprecatedEditingOffset(), code);
|
VisibleSelection.cpp | 216 searchRange->setStart(start.node(), start.deprecatedEditingOffset(), ec); 596 fprintf(stderr, "pos: %s %p:%d\n", pos.node()->nodeName().utf8().data(), pos.node(), pos.deprecatedEditingOffset()); 599 fprintf(stderr, "start: %s %p:%d\n", pos.node()->nodeName().utf8().data(), pos.node(), pos.deprecatedEditingOffset()); 602 fprintf(stderr, "end: %s %p:%d\n", pos.node()->nodeName().utf8().data(), pos.node(), pos.deprecatedEditingOffset()); 636 fprintf(stderr, "start offset: %d, end offset: %d\n", start().deprecatedEditingOffset(), end().deprecatedEditingOffset());
|
htmlediting.cpp | 102 int offsetA = a.deprecatedEditingOffset(); 103 int offsetB = b.deprecatedEditingOffset(); 347 if (pos.deprecatedEditingOffset() <= 0) { 354 return Position(node, min(node->maxCharacterOffset(), pos.deprecatedEditingOffset())); 357 if (pos.deprecatedEditingOffset() > maxCompliantOffset) { 367 if ((pos.deprecatedEditingOffset() < maxCompliantOffset) && editingIgnoresContent(node)) { 372 if (pos.deprecatedEditingOffset() == maxCompliantOffset && (editingIgnoresContent(node) || isTableElement(node))) 616 // create(PassRefPtr<Document>, const Position&, const Position&); will use deprecatedEditingOffset [all...] |
SelectionController.cpp | [all...] |
Editor.cpp | [all...] |
ReplaceSelectionCommand.cpp | [all...] |
/external/webkit/WebCore/page/ |
DOMSelection.cpp | 113 return anchorPosition(visibleSelection()).deprecatedEditingOffset(); 131 return focusPosition(visibleSelection()).deprecatedEditingOffset(); 149 return basePosition(visibleSelection()).deprecatedEditingOffset(); 167 return extentPosition(visibleSelection()).deprecatedEditingOffset();
|
/external/webkit/WebCore/rendering/ |
RenderTreeAsText.cpp | 593 ts << "caret: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().node()); 598 ts << "selection start: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().node()) << "\n" 599 << "selection end: position " << selection.end().deprecatedEditingOffset() << " of " << nodePosition(selection.end().node()) << "\n";
|
RenderTextControl.cpp | 308 range->setEnd(indexPosition.node(), indexPosition.deprecatedEditingOffset(), ec);
|
/external/webkit/WebCore/accessibility/ |
AXObjectCache.cpp | 483 if (deepPos.node() != textMarkerData.node || deepPos.deprecatedEditingOffset() != textMarkerData.offset) 520 textMarkerData.offset = deepPos.deprecatedEditingOffset();
|
AccessibilityObject.cpp | 224 if (!renderer || (renderer->isRenderBlock() && !p.deprecatedEditingOffset())) [all...] |