Searched refs:toNormalizedRange (Results 1 - 25 of 28) sorted by relevance

12

/external/webkit/WebCore/editing/
H A DRemoveFormatCommand.cpp54 String string = plainText(frame->selection()->selection().toNormalizedRange().get());
H A DSelectionController.h108 PassRefPtr<Range> toNormalizedRange() const { return m_selection.toNormalizedRange(); } function in class:WebCore::SelectionController
H A DVisibleSelection.h90 // for historical reasons. toNormalizedRange contracts the range around
92 PassRefPtr<Range> toNormalizedRange() const;
H A DEditor.cpp324 return m_frame->selection()->toNormalizedRange();
428 RefPtr<Range> range = m_frame->selection()->toNormalizedRange();
757 if (client() && client()->shouldApplyStyle(style, m_frame->selection()->toNormalizedRange().get()))
766 if (client() && client()->shouldApplyStyle(style, m_frame->selection()->toNormalizedRange().get()))
952 RefPtr<Range> range = selection.toNormalizedRange();
983 if (!shouldInsertText("\n", m_frame->selection()->toNormalizedRange().get(), EditorInsertActionTyped))
999 if (!shouldInsertText("\n", m_frame->selection()->toNormalizedRange().get(), EditorInsertActionTyped))
1481 RefPtr<Range> selectedRange = frame()->selection()->toNormalizedRange();
2075 return isRangeUngrammatical(client(), frame()->selection()->toNormalizedRange().get(), ignoredGuesses);
2086 isRangeUngrammatical(client(), frame()->selection()->toNormalizedRange()
[all...]
H A DTypingCommand.cpp500 document()->frame()->editor()->addToKillRing(selectionToDelete.toNormalizedRange().get(), false);
583 document()->frame()->editor()->addToKillRing(selectionToDelete.toNormalizedRange().get(), false);
H A DDeleteButtonController.cpp148 RefPtr<Range> range = selection.toNormalizedRange();
H A DReplaceSelectionCommand.cpp139 RefPtr<Range> range = VisibleSelection::selectionFromContentsOfNode(holder.get()).toNormalizedRange();
150 m_fragment = createFragmentFromText(selection.toNormalizedRange().get(), evt->text());
H A DEditorCommand.cpp216 RefPtr<Range> newRange = selection.toNormalizedRange();
222 RefPtr<Range> oldRange = frame->selection()->selection().toNormalizedRange();
372 RefPtr<Range> mark = frame->mark().toNormalizedRange();
942 RefPtr<Range> mark = frame->mark().toNormalizedRange();
H A DVisibleSelection.cpp135 PassRefPtr<Range> VisibleSelection::toNormalizedRange() const function in class:WebCore::VisibleSelection
H A Dmarkup.cpp973 Node* fullySelectedRoot = body && *VisibleSelection::selectionFromContentsOfNode(body).toNormalizedRange() == *updatedRange ? body : 0;
/external/webkit/WebCore/page/
H A DDOMSelection.cpp377 RefPtr<Range> range = selection->selection().toNormalizedRange();
415 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange();
437 RefPtr<Range> selectedRange = selection->selection().toNormalizedRange();
472 return plainText(m_frame->selection()->selection().toNormalizedRange().get());
H A DContextMenuController.cpp230 if (frame->editor()->shouldInsertText(item->title(), frame->selection()->toNormalizedRange().get(), EditorInsertActionPasted)) {
271 RefPtr<Range> selectedRange = frame->selection()->toNormalizedRange();
H A DFrame.cpp314 return plainText(selection()->toNormalizedRange().get());
848 return editor()->client()->shouldChangeSelectedRange(oldSelection.toNormalizedRange().get(), newSelection.toNormalizedRange().get(),
854 return editor()->client()->shouldDeleteRange(selection.toNormalizedRange().get());
984 RefPtr<Range> range(selection()->toNormalizedRange());
1218 RefPtr<Range> selectedRange = selection()->toNormalizedRange();
1437 if (startInSelection && *VisibleSelection(resultRange.get()).toNormalizedRange() == *selection.toNormalizedRange()) {
1738 if (RefPtr<Range> wordRange = newAdjacentWords.toNormalizedRange())
1740 if (RefPtr<Range> sentenceRange = newSelectedSentence.toNormalizedRange())
[all...]
H A DDragController.cpp349 range = dragCaret.toNormalizedRange();
373 RefPtr<Range> innerRange = innerFrame->selection()->toNormalizedRange();
414 RefPtr<Range> range = dragCaret.toNormalizedRange();
704 RefPtr<Range> selectionRange = src->selection()->toNormalizedRange();
/external/webkit/WebCore/dom/
H A DInputElement.cpp176 unsigned selectionLength = plainText(element->document()->frame()->selection()->selection().toNormalizedRange().get()).numGraphemeClusters();
/external/webkit/WebKit/chromium/src/
H A DWebFrameImpl.cpp924 frame()->selection()->toNormalizedRange().get(), text);
1054 return frame()->selection()->toNormalizedRange();
1059 RefPtr<Range> range = frame()->selection()->toNormalizedRange();
1073 RefPtr<Range> range = frame()->selection()->toNormalizedRange();
1204 m_activeMatch = newSelection.toNormalizedRange();
H A DWebViewImpl.cpp644 RefPtr<Range> selection = mainFrameImpl->selection()->toNormalizedRange();
/external/webkit/WebCore/html/
H A DHTMLTextAreaElement.cpp243 unsigned selectionLength = plainText(document()->frame()->selection()->selection().toNormalizedRange().get()).numGraphemeClusters();
/external/webkit/WebKit/mac/WebView/
H A DWebFrame.mm674 return kit(selection.toNormalizedRange().get());
752 return kit(_private->coreFrame->mark().toNormalizedRange().get());
1026 return [self _convertToNSRange:_private->coreFrame->selection()->toNormalizedRange().get()];
1168 DOMDocumentFragment* fragment = kit(createFragmentFromText(_private->coreFrame->selection()->toNormalizedRange().get(), text).get());
H A DWebTextCompletionController.mm175 DOMRange *selection = kit(core(frame)->selection()->toNormalizedRange().get());
/external/webkit/WebCore/loader/archive/cf/
H A DLegacyWebArchive.cpp565 RefPtr<Range> selectionRange = frame->selection()->toNormalizedRange();
/external/webkit/WebKit/gtk/WebCoreSupport/
H A DEditorClientGtk.cpp208 dataObject->setRange(targetFrame->selection()->toNormalizedRange());
/external/webkit/WebCore/platform/
H A DContextMenu.cpp248 for (TextIterator it(frame->selection()->toNormalizedRange().get()); !it.atEnd(); it.advance()) {
/external/webkit/WebKit/win/
H A DWebView.cpp5167 if (RefPtr<Range> range = targetFrame->selection()->selection().toNormalizedRange()) {
5437 if (RefPtr<Range> range = targetFrame->editor()->hasComposition() ? targetFrame->editor()->compositionRange() : targetFrame->selection()->selection().toNormalizedRange()) {
5454 RefPtr<Range> selectedRange = targetFrame->selection()->toNormalizedRange();
/external/webkit/WebCore/accessibility/
H A DAccessibilityRenderObject.cpp1659 RefPtr<Range> currentSelectionRange = selection().toNormalizedRange();

Completed in 218 milliseconds

12