/macosx-10.10/WebCore-7600.1.25/editing/ |
H A D | VisibleSelection.h | 45 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 D | BreakBlockquoteCommand.cpp | 81 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 D | CreateLinkCommand.cpp | 55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM, endingSelection().isDirectional()));
|
H A D | InsertLineBreakCommand.cpp | 125 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 D | InsertTextCommand.cpp | 84 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 D | MoveSelectionCommand.cpp | 74 setEndingSelection(VisibleSelection(pos, endingSelection().affinity(), endingSelection().isDirectional()));
|
H A D | VisibleSelection.cpp | 51 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 D | InsertParagraphSeparatorCommand.cpp | 249 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 D | ApplyBlockElementCommand.cpp | 74 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 D | TypingCommand.cpp | 431 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 D | InsertListCommand.cpp | 131 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endingSelection().isDirectional())); 187 setEndingSelection(VisibleSelection(startOfSelection, endOfSelection, endingSelection().isDirectional()));
|
H A D | DeleteSelectionCommand.cpp | 177 setStartingSelection(VisibleSelection(newBase, newExtent, startingSelection().isDirectional())); 842 setEndingSelection(VisibleSelection(m_endingPosition, affinity, endingSelection().isDirectional())); 888 setEndingSelection(VisibleSelection(m_endingPosition, affinity, endingSelection().isDirectional()));
|
H A D | FrameSelection.cpp | 140 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 D | CompositeEditCommand.cpp | 1219 bool originalIsDirectional = endingSelection().isDirectional(); 1393 setEndingSelection(VisibleSelection(firstPositionInNode(newBlock.get()), DOWNSTREAM, endingSelection().isDirectional())); 1431 setEndingSelection(VisibleSelection(atBR, endingSelection().isDirectional()));
|
H A D | ApplyStyleCommand.cpp | 185 bool wasBaseFirst = startingSelection().isBaseFirst() || !startingSelection().isDirectional(); 186 setEndingSelection(VisibleSelection(wasBaseFirst ? newStart : newEnd, wasBaseFirst ? newEnd : newStart, VP_DEFAULT_AFFINITY, endingSelection().isDirectional()));
|
H A D | ReplaceSelectionCommand.cpp | 1363 setEndingSelection(VisibleSelection(start, end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional())); 1365 setEndingSelection(VisibleSelection(end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional()));
|
H A D | Editor.cpp | 217 return VisibleSelection(range.get(), DOWNSTREAM, selection.isDirectional());
|
/macosx-10.10/WebCore-7600.1.25/html/ |
H A D | HTMLTextFormControlElement.cpp | 413 return selection.isDirectional() ? (selection.isBaseFirst() ? SelectionHasForwardDirection : SelectionHasBackwardDirection) : SelectionHasNoDirection;
|