Home
last modified time | relevance | path

Searched refs:isRange (Results 1 – 25 of 45) sorted by relevance

12

/external/webkit/Source/WebCore/editing/
DVisibleSelection.h70 …VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : af… in visibleStart()
71 …VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity… in visibleEnd()
75 bool isRange() const { return selectionType() == RangeSelection; } in isRange() function
77 … bool isNonOrphanedRange() const { return isRange() && !start().isOrphan() && !end().isOrphan(); } in isNonOrphanedRange()
DCreateLinkCommand.cpp49 if (endingSelection().isRange()) in doApply()
DInsertTextCommand.cpp74 if (!endingSelection().isRange()) in performTrivialReplace()
115 if (endingSelection().isRange()) { in input()
DSelectionController.h127 bool isRange() const { return m_selection.isRange(); } in isRange() function
DSelectionController.cpp507 if (isRange()) { in modifyMovingRight()
541 if (isRange()) in modifyMovingForward()
556 if (!isRange() || !isStartOfLine(pos)) in modifyMovingForward()
678 if (isRange()) in modifyMovingLeft()
711 if (isRange()) in modifyMovingBackward()
770 bool wasRange = m_selection.isRange(); in modify()
1323 if (!isRange()) in contains()
1366 if (!isRange()) in selectFrameElementInParentIfFullySelected()
1601 if (!selection.isRange()) { in updateAppearance()
DInsertListCommand.cpp128 if (endingSelection().isRange()) { in doApply()
130 ASSERT(selection.isRange()); in doApply()
DTypingCommand.cpp87 if (!frame->selection()->isRange()) in deleteSelection()
533 … if (!startingSelection().isRange() || selectionToDelete.base() != startingSelection().start()) in deleteKeyPressed()
606 … if (!startingSelection().isRange() || selectionToDelete.base() != startingSelection().start()) in forwardDeleteKeyPressed()
DBreakBlockquoteCommand.cpp51 if (endingSelection().isRange()) in doApply()
DEditor.cpp241 return selection->isRange() && !selection->isInPasswordField(); in canCopy()
252 return selection->isRange() && selection->rootEditableElement(); in canDelete()
296 if (m_frame->selection()->isRange()) { in deleteWithDirection()
519 if (!m_frame->selection()->isRange()) { in fontForSelection()
579 if (m_frame->selection()->isRange()) { in textDirectionForSelection()
642 if (m_frame->selection()->isRange() && !end.deprecatedNode()->isDescendantOf(node)) in textDirectionForSelection()
657 if (m_frame->selection()->isRange()) { in hasBidiSelection()
684 } else if (m_frame->selection()->isRange()) { in selectionUnorderedListState()
699 } else if (m_frame->selection()->isRange()) { in selectionOrderedListState()
946 …if (propertyID == CSSPropertyBackgroundColor && (m_frame->selection()->isRange() || hasTransparent… in selectionStartCSSPropertyValue()
[all …]
DModifySelectionListLevel.cpp60 …Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : star… in getStartEndListChildren()
DInsertParagraphSeparatorCommand.cpp157 if (endingSelection().isRange()) { in doApply()
DCompositeEditCommand.cpp373 if (endingSelection().isRange()) in deleteSelection()
379 if (selection.isRange()) in deleteSelection()
516 if (selection.isRange()) in rebalanceWhitespace()
DEditorCommand.cpp1160 return (selection.isCaret() && selection.isContentEditable()) || selection.isRange(); in enabledVisibleSelection()
1179 return ((selection.isCaret() && selection.isContentEditable()) || selection.isRange()) in enabledVisibleSelectionAndMark()
1238 return frame->selection()->isRange() && frame->selection()->isContentEditable(); in enabledRangeInEditableText()
1243 return frame->selection()->isRange() && frame->selection()->isContentRichlyEditable(); in enabledRangeInRichlyEditableText()
DVisibleSelection.cpp163 ASSERT(isRange()); in toNormalizedRange()
/external/webkit/Source/WebCore/page/win/
DFrameWin.cpp50 if (selection()->isRange()) in dragImageForSelection()
/external/webkit/Source/WebCore/page/qt/
DFrameQt.cpp43 if (!selection()->isRange()) in dragImageForSelection()
/external/webkit/Source/WebCore/editing/gtk/
DSelectionControllerGtk.cpp39 if (selection.isRange()) in emitTextSelectionChange()
/external/webkit/Source/WebCore/page/chromium/
DFrameChromium.cpp98 if (!selection()->isRange()) in dragImageForSelection()
/external/webkit/Source/WebCore/page/wince/
DFrameWinCE.cpp159 if (selection()->isRange()) in dragImageForSelection()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
DWebContextMenuClientMac.mm72 if (selectionFrame->selection()->isRange())
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DFindController.cpp84 if (frame->selection()->isRange()) in frameWithSelection()
/external/webkit/Source/WebCore/page/
DEventHandler.cpp296 if (newSelection.isRange()) { in selectClosestWordFromMouseEvent()
322 if (newSelection.isRange()) { in selectClosestWordOrLinkFromMouseEvent()
336 if (m_frame->selection()->isRange()) in handleMousePressEventDoubleClick()
366 if (newSelection.isRange()) { in handleMousePressEventTripleClick()
748 && m_frame->selection()->isRange() in handleMouseReleaseEvent()
2062 if (m_frame->selection()->isRange() in dispatchMouseEvent()
2260 …precatedNode() && (selectionController->rootEditableElement() || selectionController->isRange())) { in sendContextMenuEventForKey()
DDOMSelection.cpp174 return !m_frame->selection()->isRange(); in isCollapsed()
DContextMenuController.cpp1070 shouldEnable = frame->selection()->isRange(); in checkOrEnableIfNeeded()
1091 shouldEnable = frame->selection()->isRange(); in checkOrEnableIfNeeded()
/external/webkit/Source/WebCore/editing/mac/
DEditorMac.mm194 return selection->isRange() && !selection->isInPasswordField();

12