Searched refs:isDirectional (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/editing/
H A DVisibleSelection.h45 VisibleSelection(const Position&, EAffinity, bool isDirectional = false);
46 VisibleSelection(const Position&, const Position&, EAffinity = SEL_DEFAULT_AFFINITY, bool isDirectional = false);
48 VisibleSelection(const Range*, EAffinity = SEL_DEFAULT_AFFINITY, bool isDirectional = false);
50 VisibleSelection(const VisiblePosition&, bool isDirectional = false);
51 VisibleSelection(const VisiblePosition&, const VisiblePosition&, bool isDirectional = false);
83 bool isDirectional() const { return m_isDirectional; } function in class:WebCore::VisibleSelection
84 void setIsDirectional(bool isDirectional) { m_isDirectional = isDirectional; } argument
149 && a.isDirectional() == b.isDirectional();
[all...]
H A DBreakBlockquoteCommand.cpp81 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional()));
91 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional()));
124 setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endingSelection().isDirectional()));
183 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional()));
H A DCreateLinkCommand.cpp55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM, endingSelection().isDirectional()));
H A DInsertLineBreakCommand.cpp125 setEndingSelection(VisibleSelection(endingPosition, endingSelection().isDirectional()));
133 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM, endingSelection().isDirectional()));
138 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM, endingSelection().isDirectional()));
163 setEndingSelection(VisibleSelection(endingPosition, DOWNSTREAM, endingSelection().isDirectional()));
H A DInsertTextCommand.cpp84 forcedEndingSelection.setIsDirectional(endingSelection().isDirectional());
105 setEndingSelection(VisibleSelection(endingSelection().visibleEnd(), endingSelection().isDirectional()));
126 setEndingSelection(VisibleSelection(endingSelection().visibleEnd(), endingSelection().isDirectional()));
232 setEndingSelection(VisibleSelection(endingSelection().end(), endingSelection().affinity(), endingSelection().isDirectional()));
H A DMoveSelectionCommand.cpp74 setEndingSelection(VisibleSelection(pos, endingSelection().affinity(), endingSelection().isDirectional()));
H A DVisibleSelection.cpp51 VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional) argument
55 , m_isDirectional(isDirectional)
60 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity, bool isDirectional) argument
64 , m_isDirectional(isDirectional)
69 VisibleSelection::VisibleSelection(const VisiblePosition& pos, bool isDirectional) argument
73 , m_isDirectional(isDirectional)
78 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent, bool isDirectional) argument
82 , m_isDirectional(isDirectional)
87 VisibleSelection::VisibleSelection(const Range* range, EAffinity affinity, bool isDirectional) argument
91 , m_isDirectional(isDirectional)
[all...]
H A DInsertParagraphSeparatorCommand.cpp249 setEndingSelection(VisibleSelection(firstPositionInNode(parent.get()), DOWNSTREAM, endingSelection().isDirectional()));
288 setEndingSelection(VisibleSelection(insertionPosition, DOWNSTREAM, endingSelection().isDirectional()));
306 setEndingSelection(VisibleSelection(insertionPosition, DOWNSTREAM, endingSelection().isDirectional()));
407 setEndingSelection(VisibleSelection(firstPositionInNode(blockToInsert.get()), DOWNSTREAM, endingSelection().isDirectional()));
H A DApplyBlockElementCommand.cpp74 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endingSelection().isDirectional()));
97 setEndingSelection(VisibleSelection(start, end, endingSelection().isDirectional()));
111 setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelection().isDirectional()));
H A DTypingCommand.cpp431 setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM, endingSelection().isDirectional()));
492 setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTREAM, endingSelection().isDirectional()));
581 setEndingSelection(VisibleSelection(endingSelection().end(), positionAfterNode(downstreamEnd.containerNode()), DOWNSTREAM, endingSelection().isDirectional()));
H A DInsertListCommand.cpp131 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endingSelection().isDirectional()));
187 setEndingSelection(VisibleSelection(startOfSelection, endOfSelection, endingSelection().isDirectional()));
H A DDeleteSelectionCommand.cpp177 setStartingSelection(VisibleSelection(newBase, newExtent, startingSelection().isDirectional()));
842 setEndingSelection(VisibleSelection(m_endingPosition, affinity, endingSelection().isDirectional()));
888 setEndingSelection(VisibleSelection(m_endingPosition, affinity, endingSelection().isDirectional()));
H A DFrameSelection.cpp140 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity(), m_selection.isDirectional()),
152 setSelection(VisibleSelection(pos, affinity, m_selection.isDirectional()), defaultSetSelectionOptions(userTriggered));
233 bool isDirectional = shouldAlwaysUseDirectionalSelection(m_frame) || newSelection.isDirectional(); local
252 newSelection.setIsDirectional(isDirectional); // Adjusting base and extent will make newSelection always directional
534 else if (m_selection.isDirectional() && !m_selection.isBaseFirst())
577 if (m_selection.isDirectional()) {
H A DCompositeEditCommand.cpp1219 bool originalIsDirectional = endingSelection().isDirectional();
1393 setEndingSelection(VisibleSelection(firstPositionInNode(newBlock.get()), DOWNSTREAM, endingSelection().isDirectional()));
1431 setEndingSelection(VisibleSelection(atBR, endingSelection().isDirectional()));
H A DApplyStyleCommand.cpp185 bool wasBaseFirst = startingSelection().isBaseFirst() || !startingSelection().isDirectional();
186 setEndingSelection(VisibleSelection(wasBaseFirst ? newStart : newEnd, wasBaseFirst ? newEnd : newStart, VP_DEFAULT_AFFINITY, endingSelection().isDirectional()));
H A DReplaceSelectionCommand.cpp1363 setEndingSelection(VisibleSelection(start, end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional()));
1365 setEndingSelection(VisibleSelection(end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional()));
H A DEditor.cpp217 return VisibleSelection(range.get(), DOWNSTREAM, selection.isDirectional());
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLTextFormControlElement.cpp413 return selection.isDirectional() ? (selection.isBaseFirst() ? SelectionHasForwardDirection : SelectionHasBackwardDirection) : SelectionHasNoDirection;

Completed in 228 milliseconds