/external/webkit/Source/WebCore/dom/ |
PositionIterator.h | 48 , m_nodeAfterPositionInAnchor(m_anchorNode->childNode(pos.deprecatedEditingOffset())) 49 , m_offsetInAnchor(m_nodeAfterPositionInAnchor ? 0 : pos.deprecatedEditingOffset())
|
Position.h | 93 int deprecatedEditingOffset() const 200 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
|
Position.cpp | 246 int o = deprecatedEditingOffset(); 285 int o = deprecatedEditingOffset(); [all...] |
/external/webkit/Source/WebCore/editing/ |
BreakBlockquoteCommand.cpp | 111 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { 114 } else if (pos.deprecatedEditingOffset() > 0) 115 splitTextNode(textNode, pos.deprecatedEditingOffset()); 116 } else if (pos.deprecatedEditingOffset() > 0) { 117 Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset());
|
InsertLineBreakCommand.cpp | 125 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.deprecatedNode())) { 135 } else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()->isTextNode()) { 141 splitTextNode(textNode, pos.deprecatedEditingOffset());
|
InsertParagraphSeparatorCommand.cpp | 263 refNode = startBlock->childNode(insertionPosition.deprecatedEditingOffset()); 315 replaceTextInNode(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 321 bool atEnd = (unsigned)insertionPosition.deprecatedEditingOffset() >= textNode->length(); 322 if (insertionPosition.deprecatedEditingOffset() > 0 && !atEnd) { 323 splitTextNode(textNode, insertionPosition.deprecatedEditingOffset());
|
DeleteSelectionCommand.cpp | 432 int startOffset = m_upstreamStart.deprecatedEditingOffset(); 457 if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) { 461 deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); 463 removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset()); 488 deleteTextFromNode(text, 0, m_upstreamEnd.deprecatedEditingOffset()); 501 ASSERT(m_downstreamEnd.deprecatedEditingOffset()); 502 ASSERT(node->nodeIndex() < (unsigned)m_downstreamEnd.deprecatedEditingOffset()); 503 m_downstreamEnd.moveToOffset(m_downstreamEnd.deprecatedEditingOffset() - 1); 509 if (m_downstreamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(n)) { 517 if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.anchorNode()->inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) [all...] |
TypingCommand.cpp | 528 if (granularity == CharacterGranularity && selectionToDelete.end().deprecatedNode() == selectionToDelete.start().deprecatedNode() && selectionToDelete.end().deprecatedEditingOffset() - selectionToDelete.start().deprecatedEditingOffset() > 1) { 595 if (downstreamEnd.deprecatedNode() && downstreamEnd.deprecatedNode()->renderer() && downstreamEnd.deprecatedNode()->renderer()->isTable() && !downstreamEnd.deprecatedEditingOffset()) { 618 extraCharacters = selectionToDelete.end().deprecatedEditingOffset() - selectionToDelete.start().deprecatedEditingOffset(); 620 extraCharacters = selectionToDelete.end().deprecatedEditingOffset(); 621 extent = Position(extent.deprecatedNode(), extent.deprecatedEditingOffset() + extraCharacters, Position::PositionIsOffsetInAnchor);
|
CompositeEditCommand.cpp | 164 int offset = p.deprecatedEditingOffset(); 438 int offset = position.deprecatedEditingOffset(); 504 replaceTextInNode(static_cast<Text*>(previous.deprecatedNode()), previous.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 506 replaceTextInNode(static_cast<Text*>(position.deprecatedNode()), position.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 612 int startOffset = node == start.deprecatedNode() ? start.deprecatedEditingOffset() : 0; 613 int endOffset = node == end.deprecatedNode() ? end.deprecatedEditingOffset() : static_cast<int>(textNode->length()); [all...] |
visible_units.cpp | 72 forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), ec); 86 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), ec); 87 searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), ec); 151 backwardsScanRange->setEnd(start.deprecatedNode(), start.deprecatedEditingOffset(), ec); 166 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), ec); 356 if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprecatedEditingOffset()) 404 if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprecatedEditingOffset()) 645 Node* n = nextLeafWithSameEditability(node, p.deprecatedEditingOffset()); 758 int offset = p.deprecatedEditingOffset(); 830 int offset = p.deprecatedEditingOffset(); [all...] |
InsertTextCommand.cpp | 210 unsigned int offset = insertPos.deprecatedEditingOffset();
|
ApplyStyleCommand.cpp | 347 if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters. 663 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) { 670 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode())) [all...] |
htmlediting.cpp | 101 int offsetA = a.deprecatedEditingOffset(); 102 int offsetB = b.deprecatedEditingOffset(); 548 // create(PassRefPtr<Document>, const Position&, const Position&); will use deprecatedEditingOffset [all...] |
Editor.cpp | [all...] |
SelectionController.cpp | [all...] |
ReplaceSelectionCommand.cpp | [all...] |
/external/webkit/Source/WebCore/accessibility/ |
AXObjectCache.cpp | 597 if (deepPos.deprecatedNode() != textMarkerData.node || deepPos.deprecatedEditingOffset() != textMarkerData.offset) 634 textMarkerData.offset = deepPos.deprecatedEditingOffset();
|
AccessibilityObject.cpp | 230 if (!renderer || (renderer->isRenderBlock() && !p.deprecatedEditingOffset())) [all...] |
AccessibilityRenderObject.cpp | [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderTreeAsText.cpp | 749 ts << "caret: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()); 754 ts << "selection start: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()) << "\n" 755 << "selection end: position " << selection.end().deprecatedEditingOffset() << " of " << nodePosition(selection.end().deprecatedNode()) << "\n";
|
RenderTextControl.cpp | 356 range->setEnd(indexPosition.deprecatedNode(), indexPosition.deprecatedEditingOffset(), ec);
|