selectedRange 344 Source/core/clipboard/Clipboard.cpp void Clipboard::writeRange(Range* selectedRange, LocalFrame* frame) selectedRange 346 Source/core/clipboard/Clipboard.cpp ASSERT(selectedRange); selectedRange 350 Source/core/clipboard/Clipboard.cpp m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs), frame->document()->url()); selectedRange 302 Source/core/editing/Editor.cpp addToKillRing(selectedRange().get(), false); selectedRange 390 Source/core/editing/Editor.cpp RefPtrWillBeRawPtr<Range> range = selectedRange(); selectedRange 417 Source/core/editing/Editor.cpp void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard, Range* selectedRange, const String& plainText) selectedRange 419 Source/core/editing/Editor.cpp String html = createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs); selectedRange 420 Source/core/editing/Editor.cpp KURL url = selectedRange->startContainer()->document().url(); selectedRange 509 Source/core/editing/Editor.cpp replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacement, smartReplace, true); selectedRange 852 Source/core/editing/Editor.cpp RefPtrWillBeRawPtr<Range> selection = selectedRange(); selectedRange 880 Source/core/editing/Editor.cpp writeSelectionToPasteboard(Pasteboard::generalPasteboard(), selectedRange().get(), m_frame.selectedTextForClipboard()); selectedRange 914 Source/core/editing/Editor.cpp addToKillRing(selectedRange().get(), false); selectedRange 192 Source/core/editing/Editor.h PassRefPtrWillBeRawPtr<Range> selectedRange(); selectedRange 384 Source/core/editing/EditorCommand.cpp bool selected = frame.selection().setSelectedRange(unionDOMRanges(mark.get(), frame.editor().selectedRange().get()).get(), DOWNSTREAM, FrameSelection::CloseTyping); selectedRange 1031 Source/core/editing/EditorCommand.cpp RefPtrWillBeRawPtr<Range> selection = frame.editor().selectedRange(); selectedRange 312 Source/core/editing/InputMethodController.cpp RefPtrWillBeRawPtr<Range> selectedRange = Range::create(baseNode->document(), baseNode, start, baseNode, end); selectedRange 313 Source/core/editing/InputMethodController.cpp m_frame.selection().setSelectedRange(selectedRange.get(), DOWNSTREAM, static_cast<FrameSelection::SetSelectionOption>(0)); selectedRange 146 Source/core/editing/SpellChecker.cpp if (RefPtrWillBeRawPtr<Range> selectedRange = m_frame.selection().toNormalizedRange()) selectedRange 147 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::Spelling); selectedRange 320 Source/core/editing/SpellChecker.cpp RefPtrWillBeRawPtr<Range> selectedRange = movingSelection.toNormalizedRange(); selectedRange 321 Source/core/editing/SpellChecker.cpp if (selectedRange) selectedRange 322 Source/core/editing/SpellChecker.cpp m_frame.document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarkers()); selectedRange 530 Source/core/editing/htmlediting.cpp RefPtrWillBeRawPtr<Range> selectedRange = Range::create(document); selectedRange 531 Source/core/editing/htmlediting.cpp selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffsetInContainerNode(), exceptionState); selectedRange 533 Source/core/editing/htmlediting.cpp selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInContainerNode(), exceptionState); selectedRange 534 Source/core/editing/htmlediting.cpp return selectedRange.release(); selectedRange 1043 Source/core/editing/htmlediting.cpp bool isNodeVisiblyContainedWithin(Node& node, const Range& selectedRange) selectedRange 1046 Source/core/editing/htmlediting.cpp if (selectedRange.compareNode(&node, IGNORE_EXCEPTION) == Range::NODE_INSIDE) selectedRange 1049 Source/core/editing/htmlediting.cpp bool startIsVisuallySame = visiblePositionBeforeNode(node) == VisiblePosition(selectedRange.startPosition()); selectedRange 1050 Source/core/editing/htmlediting.cpp if (startIsVisuallySame && comparePositions(positionInParentAfterNode(node), selectedRange.endPosition()) < 0) selectedRange 1053 Source/core/editing/htmlediting.cpp bool endIsVisuallySame = visiblePositionAfterNode(node) == VisiblePosition(selectedRange.endPosition()); selectedRange 1054 Source/core/editing/htmlediting.cpp if (endIsVisuallySame && comparePositions(selectedRange.startPosition(), positionInParentBeforeNode(node)) < 0) selectedRange 447 Source/core/page/DOMSelection.cpp RefPtrWillBeRawPtr<Range> selectedRange = selection.selection().toNormalizedRange(); selectedRange 448 Source/core/page/DOMSelection.cpp if (!selectedRange) selectedRange 451 Source/core/page/DOMSelection.cpp selectedRange->deleteContents(ASSERT_NO_EXCEPTION); selectedRange 453 Source/core/page/DOMSelection.cpp setBaseAndExtent(selectedRange->startContainer(ASSERT_NO_EXCEPTION), selectedRange->startOffset(), selectedRange->startContainer(), selectedRange->startOffset(), ASSERT_NO_EXCEPTION); selectedRange 467 Source/core/page/DOMSelection.cpp RefPtrWillBeRawPtr<Range> selectedRange = selection.selection().toNormalizedRange(); selectedRange 474 Source/core/page/DOMSelection.cpp bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) >= 0 && !exceptionState.hadException() selectedRange 475 Source/core/page/DOMSelection.cpp && Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(), selectedRange->endOffset(), exceptionState) <= 0 && !exceptionState.hadException(); selectedRange 481 Source/core/page/DOMSelection.cpp bool nodeFullyUnselected = (Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endContainer(), selectedRange->endOffset(), exceptionState) > 0 && !exceptionState.hadException()) selectedRange 482 Source/core/page/DOMSelection.cpp || (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) < 0 && !exceptionState.hadException()); selectedRange 2164 Source/web/WebViewImpl.cpp RefPtrWillBeRawPtr<Range> selectedRange = selection.toNormalizedRange(); selectedRange 2165 Source/web/WebViewImpl.cpp if (!selectedRange) selectedRange 2168 Source/web/WebViewImpl.cpp RefPtrWillBeRawPtr<Range> range(Range::create(selectedRange->startContainer()->document(), selectedRange 2169 Source/web/WebViewImpl.cpp selectedRange->startContainer(), selectedRange 2170 Source/web/WebViewImpl.cpp selectedRange->startOffset(), selectedRange 2171 Source/web/WebViewImpl.cpp selectedRange->startContainer(), selectedRange 2172 Source/web/WebViewImpl.cpp selectedRange->startOffset())); selectedRange 2175 Source/web/WebViewImpl.cpp range = Range::create(selectedRange->endContainer()->document(), selectedRange 2176 Source/web/WebViewImpl.cpp selectedRange->endContainer(), selectedRange 2177 Source/web/WebViewImpl.cpp selectedRange->endOffset(), selectedRange 2178 Source/web/WebViewImpl.cpp selectedRange->endContainer(), selectedRange 2179 Source/web/WebViewImpl.cpp selectedRange->endOffset());