/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
getRangeAt.js | 24 debug("startContainer: " + range.startContainer);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebRange.cpp | 69 WebNode WebRange::startContainer(int& exceptionCode) const 71 return PassRefPtr<Node>(m_private->startContainer(exceptionCode));
|
/external/webkit/Source/WebKit/chromium/public/ |
WebRange.h | 67 WEBKIT_API WebNode startContainer(int& exceptionCode) const;
|
/external/webkit/Source/WebCore/dom/ |
DocumentMarkerController.cpp | 67 addMarker(textPiece->startContainer(exception), marker); 81 removeMarkers(textPiece->startContainer(), startOffset, endOffset - startOffset, markerTypes, shouldRemovePartiallyOverlappingMarker); 327 Node* startContainer = range->startContainer(); 328 ASSERT(startContainer); 339 if (node == startContainer && it->endOffset <= static_cast<unsigned>(range->startOffset())) 575 Node* startContainer = range->startContainer(ec); 580 int startOffset = node == startContainer ? range->startOffset(ec) : 0; 622 Node* startContainer = range->startContainer() [all...] |
Range.h | 45 static PassRefPtr<Range> create(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset); 50 Node* startContainer() const { return m_start.container(); } 55 Node* startContainer(ExceptionCode&) const; 139 Range(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
|
Range.cpp | 71 inline Range::Range(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) 85 setStart(startContainer, startOffset, ec); 91 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) 93 return adoptRef(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); 122 Node* Range::startContainer(ExceptionCode& ec) const [all...] |
Range.idl | 26 readonly attribute Node startContainer
|
/external/webkit/Source/WebCore/editing/ |
SpellingCorrectionCommand.cpp | 77 : CompositeEditCommand(rangeToBeCorrected->startContainer()->document())
|
TextIterator.cpp | 285 Node* startContainer = r->startContainer(); 286 if (!startContainer) 297 m_startContainer = startContainer; [all...] |
SpellingCorrectionController.cpp | 214 RefPtr<Range> correctionStartOffsetInParagraphAsRange = Range::create(paragraphRangeContainingCorrection->startContainer(ec)->document(), paragraphRangeContainingCorrection->startPosition(), paragraphRangeContainingCorrection->startPosition()); 237 DocumentMarkerController* markers = replacementRange->startContainer()->document()->markers(); 342 replacedRange->startContainer()->document()->markers()->addMarker(replacedRange, DocumentMarker::RejectedCorrection, m_correctionPanelInfo.replacedString); 442 changedRange->startContainer()->document()->markers()->removeMarkers(changedRange.get(), DocumentMarker::Autocorrected, DocumentMarkerController::RemovePartiallyOverlappingMarker); 443 changedRange->startContainer()->document()->markers()->addMarker(changedRange.get(), DocumentMarker::SpellCheckingExemption); 449 DocumentMarkerController* markers = replacedRange->startContainer()->document()->markers(); 463 DocumentMarkerController* markers = rangeOfCorrection->startContainer()->document()->markers();
|
TextCheckingHelper.cpp | 116 m_offsetAsRange = Range::create(paragraphRange()->startContainer(ec)->document(), paragraphRange()->startPosition(), checkingRange()->startPosition()); 209 misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); 249 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), m_range->startPosition()); 263 RefPtr<Range> endOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), m_range->endPosition()); 316 RefPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), m_range->startPosition(), paragraphRange->startPosition()); 327 RefPtr<Range> paragraphOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), m_range->startPosition(), paragraphRange->startPosition()); 380 badGrammarRange->startContainer(ec)->document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription);
|
htmlediting.cpp | [all...] |
FormatBlockCommand.cpp | 111 Element* rootEditableElement = range->startContainer()->rootEditableElement();
|
Editor.cpp | 258 Node* startContainer = range->startContainer(ec); 260 if (!startContainer || !endContainer) 263 if (!startContainer->rendererIsEditable() || !endContainer->rendererIsEditable()) 267 VisiblePosition start(Position(startContainer, range->startOffset(ec), Position::PositionIsOffsetInAnchor), DOWNSTREAM); 270 if (previous.isNull() || previous.deepEquivalent().deprecatedNode()->rootEditableElement() != startContainer->rootEditableElement()) [all...] |
/external/webkit/Source/WebKit/win/Interfaces/ |
DOMRange.idl | 70 - (DOMNode *)startContainer; 72 HRESULT startContainer([out, retval] IDOMNode** node);
|
/external/webkit/Tools/DumpRenderTree/win/ |
EditingDelegate.cpp | 108 COMPtr<IDOMNode> startContainer; 109 if (FAILED(range->startContainer(&startContainer))) 117 _snwprintf(buffer, ARRAYSIZE(buffer), L"range from %ld of %s to %ld of %s", startOffset, dumpPath(startContainer.get()), endOffset, dumpPath(endContainer.get()));
|
/external/webkit/Source/WebCore/page/ |
DOMSelection.cpp | 455 setBaseAndExtent(selectedRange->startContainer(ec), selectedRange->startOffset(ec), selectedRange->startContainer(ec), selectedRange->startOffset(ec), ec); 477 bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(ec), selectedRange->startOffset(ec), ec) >= 0 && !ec 484 || (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(ec), selectedRange->startOffset(ec), ec) < 0 && !ec);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
TextPrompt.js | 208 var wordPrefixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, this.completionStopCharacters, this.element, "backward"); 220 fullWordRange.setStart(originalWordPrefixRange.startContainer, originalWordPrefixRange.startOffset); 321 var node = selectionRange.startContainer;
|
/external/webkit/Source/WebCore/loader/archive/cf/ |
LegacyWebArchive.cpp | 463 Node* startContainer = range->startContainer(); 464 if (!startContainer) 467 Document* document = startContainer->document();
|
/external/webkit/Source/WebCore/platform/chromium/ |
PasteboardChromium.cpp | 87 KURL url = selectedRange->startContainer(ec)->document()->url();
|
/external/webkit/Tools/DumpRenderTree/mac/ |
EditingDelegate.mm | 60 return [NSString stringWithFormat:@"range from %ld of %@ to %ld of %@", [self startOffset], [[self startContainer] dumpPath], [self endOffset], [[self endContainer] dumpPath]];
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
DumpRenderTreeSupportGtk.cpp | 587 RefPtr<Range> testRange = Range::create(scope->document(), scope, 0, range->startContainer(), range->startOffset()); 588 ASSERT(testRange->startContainer() == scope); 593 ASSERT(testRange->startContainer() == scope);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebFrame.mm | 641 Node *startNode = core([range startContainer]); 734 Node* startContainer = core([proposedRange startContainer]); 736 if (startContainer == nil || endContainer == nil) 739 ASSERT(startContainer->document() == endContainer->document()); 743 Position start(startContainer, [proposedRange startOffset]); [all...] |
WebTextCompletionController.mm | 180 [prefix setEnd:[selection startContainer] offset:[selection startOffset]]; 208 NSRect wordRect = [frame _caretRectAtPosition:Position(core([wholeWord startContainer]), [wholeWord startOffset], Position::PositionIsOffsetInAnchor) affinity:NSSelectionAffinityDownstream];
|
/external/webkit/Source/WebCore/platform/wince/ |
PasteboardWinCE.cpp | 119 markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange), selectedRange->startContainer(ec)->document()->url(), data);
|