Searched refs:selectedRange (Results 1 - 25 of 45) sorted by relevance

12

/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/API/mac/
H A DWKWebProcessPlugInBrowserContextController.h39 @property(readonly) WKDOMRange *selectedRange; variable
H A DWKWebProcessPlugInBrowserContextController.mm75 - (WKDOMRange *)selectedRange
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DDOMSelection.cpp437 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); local
438 if (!selectedRange)
441 selectedRange->deleteContents(ASSERT_NO_EXCEPTION);
443 setBaseAndExtent(selectedRange->startContainer(ASSERT_NO_EXCEPTION), selectedRange->startOffset(), selectedRange->startContainer(), selectedRange->startOffset(), ASSERT_NO_EXCEPTION);
457 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); local
465 bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRange
[all...]
H A DContextMenuController.cpp411 RefPtr<Range> selectedRange = frame->selection()->toNormalizedRange(); local
412 if (!selectedRange || selectedRange->collapsed(IGNORE_EXCEPTION)) {
414 selectedRange = document->createRange();
415 selectedRange->selectNode(document->documentElement(), IGNORE_EXCEPTION);
417 m_client->speak(plainText(selectedRange.get()));
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsinputmanager.py11 def selectedRange(self): return 1 member in class:TestNSInputManagerHelper
21 self.failUnlessResultHasType(TestNSInputManagerHelper.selectedRange, NSRange.__typestr__)
H A Dtest_nstextinputclient.py9 def selectedRange(self): return 1 member in class:TestNSTextInputClientHelper
28 self.failUnlessResultHasType(TestNSTextInputClientHelper.selectedRange, NSRange.__typestr__)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsinputmanager.py11 def selectedRange(self): return 1 member in class:TestNSInputManagerHelper
21 self.assertResultHasType(TestNSInputManagerHelper.selectedRange, NSRange.__typestr__)
H A Dtest_nstextinputclient.py9 def selectedRange(self): return 1 member in class:TestNSTextInputClientHelper
29 self.assertResultHasType(TestNSTextInputClientHelper.selectedRange, NSRange.__typestr__)
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/CocoaRepl/
H A DRubyProgramTextView.rb92 textStorage.blockRangeForRange(selectedRange)
96 textStorage.lineRangeForRange(selectedRange)
H A DReplController.rb122 when 1 then storage.rubySubString(@scratchText.selectedRange)
/macosx-10.9.5/WebCore-7537.78.1/platform/blackberry/
H A DPasteboardBlackBerry.cpp64 void Pasteboard::writeSelection(Range* selectedRange, bool, Frame* frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard) argument
67 WTF::String html = createMarkup(selectedRange, 0, AnnotateForInterchange);
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DDOMPrivate.idl87 HRESULT selectedRange([out] int* start, [out] int* end);
/macosx-10.9.5/WebCore-7537.78.1/platform/wince/
H A DPasteboardWinCE.cpp112 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard) argument
119 markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange), selectedRange->startContainer()->document()->url(), data);
/macosx-10.9.5/WebCore-7537.78.1/platform/ios/
H A DPasteboardIOS.mm117 void Pasteboard::writeSelection(Range* selectedRange, bool /*canSmartCopyOrDelete*/, Frame *frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard)
119 ASSERT(selectedRange);
125 Node* commonAncestor = selectedRange->commonAncestorContainer(ec);
128 if (enclosingAnchor && comparePositions(firstPositionInOrBeforeNode(selectedRange->startPosition().anchorNode()), selectedRange->startPosition()) >= 0)
129 selectedRange->setStart(enclosingAnchor, 0, ec);
141 RetainPtr<NSHTMLReader> converter = adoptNS([[getNSHTMLReaderClass() alloc] initWithDOMRange:kit(selectedRange)]);
/macosx-10.9.5/WebKit-7537.78.2/gtk/WebCoreSupport/
H A DDumpRenderTreeSupportGtk.h90 static bool selectedRange(WebKitWebView*, int* start, int* length);
/macosx-10.9.5/WebCore-7537.78.1/editing/
H A Dhtmlediting.cpp544 RefPtr<Range> selectedRange = Range::create(document); local
545 selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffsetInContainerNode(), ec);
547 selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInContainerNode(), ec);
548 return selectedRange.release();
1179 // Call this function to determine whether a node is visibly fit inside selectedRange
1180 bool isNodeVisiblyContainedWithin(Node* node, const Range* selectedRange) argument
1183 ASSERT(selectedRange);
1185 if (selectedRange->compareNode(node, IGNORE_EXCEPTION) == Range::NODE_INSIDE)
1188 bool startIsVisuallySame = visiblePositionBeforeNode(node) == selectedRange->startPosition();
1189 if (startIsVisuallySame && comparePositions(positionInParentAfterNode(node), selectedRange
[all...]
H A DEditor.cpp364 addToKillRing(selectedRange().get(), false);
428 if (client() && client()->shouldInsertText(text, selectedRange().get(), EditorInsertActionPasted))
435 RefPtr<Range> range = selectedRange();
489 replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacement, smartReplace, true);
492 PassRefPtr<Range> Editor::selectedRange() function in class:WebCore::Editor
1051 RefPtr<Range> selection = selectedRange();
1074 willWriteSelectionToPasteboard(selectedRange());
1083 Pasteboard::generalPasteboard()->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_frame, IncludeImageAltTextForClipboard);
1122 addToKillRing(selectedRange().get(), false);
1593 RefPtr<Range> selectedRange local
1952 RefPtr<Range> selectedRange = movingSelection.toNormalizedRange(); local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/win/
H A DPasteboardWin.cpp428 void Pasteboard::writeRangeToDataObject(Range* selectedRange, Frame* frame) argument
430 ASSERT(selectedRange);
438 markupToCFHTML(createMarkup(selectedRange, 0, AnnotateForInterchange),
439 selectedRange->startContainer()->document()->url().string(), data);
456 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard) argument
463 markupToCFHTML(createMarkup(selectedRange, 0, AnnotateForInterchange),
464 selectedRange->startContainer()->document()->url().string(), data);
490 writeRangeToDataObject(selectedRange, frame);
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/VPRubyPluginEnabler/
H A DVPRubyPlugin.rb80 r = windowController.textView.selectedRange
/macosx-10.9.5/WebKit-7537.78.2/efl/WebCoreSupport/
H A DDumpRenderTreeSupportEfl.h121 static bool selectedRange(Evas_Object*, int*, int*);
/macosx-10.9.5/WebKit-7537.78.2/qt/WebCoreSupport/
H A DDumpRenderTreeSupportQt.h96 static QVariantList selectedRange(QWebPageAdapter*);
H A DDumpRenderTreeSupportQt.cpp340 QVariantList DumpRenderTreeSupportQt::selectedRange(QWebPageAdapter *adapter) function in class:DumpRenderTreeSupportQt
343 QVariantList selectedRange; local
358 selectedRange << startPosition << (endPosition - startPosition);
360 return selectedRange;
/macosx-10.9.5/WebCore-7537.78.1/platform/gtk/
H A DPasteboardGtk.cpp167 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard) argument
171 m_dataObject->setMarkup(createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs));
/macosx-10.9.5/WebCore-7537.78.1/platform/qt/
H A DPasteboardQt.cpp116 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame, ShouldSerializeSelectedTextForClipboard shouldSerializeSelectedTextForClipboard) argument
123 QString markup = createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/mac/
H A DWebPageMac.mm484 RefPtr<Range> selectedRange = selection.toNormalizedRange();
485 if (!selectedRange)
488 return isPositionInRange(position, selectedRange.get());
567 RefPtr<Range> selectedRange = selection.toNormalizedRange();
568 if (!selectedRange)
589 performDictionaryLookupForRange(frame, selectedRange.get(), options);

Completed in 723 milliseconds

12