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

12

/external/webkit/WebCore/platform/android/
H A DClipboardAndroid.cpp101 void ClipboardAndroid::writeRange(Range* selectedRange, Frame*) argument
103 ASSERT(selectedRange);
/external/webkit/WebCore/page/
H A DDOMSelection.cpp415 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); local
418 selectedRange->deleteContents(ec);
421 setBaseAndExtent(selectedRange->startContainer(ec), selectedRange->startOffset(ec), selectedRange->startContainer(ec), selectedRange->startOffset(ec), ec);
437 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange(); local
443 bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(ec), selectedRange->startOffset(ec)) >= 0
444 && Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange
[all...]
H A DContextMenuController.cpp271 RefPtr<Range> selectedRange = frame->selection()->toNormalizedRange(); local
272 if (!selectedRange || selectedRange->collapsed(ec)) {
274 selectedRange = document->createRange();
275 selectedRange->selectNode(document->documentElement(), ec);
277 m_client->speak(plainText(selectedRange.get()));
H A DFrame.cpp1218 RefPtr<Range> selectedRange = selection()->toNormalizedRange();
1226 selectedRange->textQuads(quads, true);
1238 selectedRange->textRects(intRects, true);
/external/webkit/WebKitExamplePlugins/NetscapeInputMethodPlugin/
H A Dmain.m55 NSRange selectedRange;
153 obj->selectedRange.location = [obj->textStorage length];
252 NSRect *rectArray = [obj->layoutManager rectArrayForCharacterRange:obj->selectedRange
253 withinSelectedCharacterRange:obj->selectedRange
315 if (obj->selectedRange.location > 0) {
316 obj->selectedRange.location--;
322 if (obj->selectedRange.location < [obj->textStorage length]) {
323 obj->selectedRange.location++;
339 NSRange range = obj->selectedRange;
343 obj->selectedRange
[all...]
/external/webkit/WebCore/platform/chromium/
H A DPasteboardChromium.cpp82 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
84 String html = createMarkup(selectedRange, 0, AnnotateForInterchange);
86 KURL url = selectedRange->startContainer(ec)->document()->url();
H A DClipboardChromium.cpp358 void ClipboardChromium::writeRange(Range* selectedRange, Frame* frame) argument
360 ASSERT(selectedRange);
364 m_dataObject->textHtml = createMarkup(selectedRange, 0,
/external/webkit/WebCore/platform/wx/
H A DPasteboardWx.cpp53 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
/external/webkit/WebCore/platform/qt/
H A DPasteboardQt.cpp61 void Pasteboard::writeSelection(Range* selectedRange, bool, Frame* frame) argument
69 html += createMarkup(selectedRange, 0, AnnotateForInterchange);
/external/webkit/WebKit/win/Interfaces/
H A DDOMPrivate.idl85 HRESULT selectedRange([out] int* start, [out] int* end);
/external/webkit/WebCore/platform/
H A DPasteboard.h83 static void writeSelection(NSPasteboard* pasteboard, Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame);
/external/webkit/WebCore/platform/haiku/
H A DPasteboardHaiku.cpp54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
/external/webkit/WebCore/platform/mac/
H A DPasteboardMac.mm136 void Pasteboard::writeSelection(NSPasteboard* pasteboard, Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
140 ASSERT(selectedRange);
142 NSAttributedString *attributedString = [[[NSAttributedString alloc] _initWithDOMRange:kit(selectedRange)] autorelease];
187 String text = frame->displayStringModifiedByEncoding(selectedRange->text());
209 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
211 Pasteboard::writeSelection(m_pasteboard.get(), selectedRange, canSmartCopyOrDelete, frame);
/external/webkit/WebCore/platform/wince/
H A DPasteboardWince.cpp110 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
118 markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange), selectedRange->startContainer(ec)->document()->url(), data);
/external/webkit/WebCore/platform/win/
H A DPasteboardWin.cpp111 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
119 markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange),
120 selectedRange->startContainer(ec)->document()->url().string(), data);
H A DClipboardWin.cpp750 void ClipboardWin::writeRange(Range* selectedRange, Frame* frame) argument
752 ASSERT(selectedRange);
761 markupToCF_HTML(createMarkup(selectedRange, 0, AnnotateForInterchange),
762 selectedRange->startContainer(ec)->document()->url().string(), data);
/external/webkit/WebCore/editing/
H A Dhtmlediting.cpp621 RefPtr<Range> selectedRange = Range::create(document); local
622 selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffsetInContainerNode(), ec);
624 selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInContainerNode(), ec);
625 return selectedRange.release();
1092 // Call this function to determine whether a node is visibly fit inside selectedRange
1093 bool isNodeVisiblyContainedWithin(Node* node, const Range* selectedRange) argument
1096 ASSERT(selectedRange);
1099 if (selectedRange->compareNode(node, ec) == Range::NODE_INSIDE)
1102 // If the node starts and ends at where selectedRange starts and ends, the node is contained within
1103 return visiblePositionBeforeNode(node) == selectedRange
[all...]
H A DEditor.cpp238 addToKillRing(selectedRange().get(), false);
276 if (client() && client()->shouldInsertText(text, selectedRange().get(), EditorInsertActionPasted))
282 RefPtr<Range> range = selectedRange();
317 replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacement, smartReplace, true);
320 PassRefPtr<Range> Editor::selectedRange() function in class:WebCore::Editor
372 pasteboard->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_frame);
1015 RefPtr<Range> selection = selectedRange();
1042 Pasteboard::generalPasteboard()->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_frame);
1084 addToKillRing(selectedRange().get(), false);
1468 RefPtr<Range> selectedRange local
[all...]
H A DEditor.h287 PassRefPtr<Range> selectedRange();
H A DCompositeEditCommand.cpp317 RefPtr<Range> selectedRange = TextIterator::rangeFromLocationAndLength(document()->documentElement(), startIndex, length); local
318 setEndingSelection(VisibleSelection(selectedRange.get()));
H A DEditorCommand.cpp375 bool selected = selection->setSelectedRange(unionDOMRanges(mark.get(), frame->editor()->selectedRange().get()).get(), DOWNSTREAM, true);
943 RefPtr<Range> selection = frame->editor()->selectedRange();
/external/webkit/WebCore/platform/gtk/
H A DPasteboardGtk.cpp97 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) argument
101 gchar* markup = g_strdup(createMarkup(selectedRange, 0, AnnotateForInterchange).utf8().data());
/external/webkit/WebKitTools/DumpRenderTree/mac/
H A DTextInputController.m167 || aSelector == @selector(selectedRange)
245 [textInput setMarkedText:aString selectedRange:NSMakeRange(from, length)];
310 - (NSArray *)selectedRange
315 NSRange range = [textInput selectedRange];
/external/webkit/WebKit/win/
H A DDOMHTMLClasses.cpp1343 HRESULT STDMETHODCALLTYPE DOMHTMLInputElement::selectedRange( function in class:DOMHTMLInputElement
H A DWebView.cpp5454 RefPtr<Range> selectedRange = targetFrame->selection()->toNormalizedRange();
5455 String text = selectedRange->text();

Completed in 562 milliseconds

12