Home | History | Annotate | Download | only in editing

Lines Matching refs:destination

1045 void CompositeEditCommand::cleanupAfterDeletion(VisiblePosition destination)
1048 Node* destinationNode = destination.deepEquivalent().anchorNode();
1049 if (caretAfterDelete != destination && isStartOfParagraph(caretAfterDelete) && isEndOfParagraph(caretAfterDelete)) {
1054 // Bail if we'd remove an ancestor of our destination.
1067 // If caret position after deletion and destination position coincides,
1069 if (!position.rendersInDifferentPosition(destination.deepEquivalent())) {
1134 void CompositeEditCommand::moveParagraph(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle, Node* constrainingAncestor)
1138 moveParagraphs(startOfParagraphToMove, endOfParagraphToMove, destination, preserveSelection, preserveStyle, constrainingAncestor);
1141 void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle, Node* constrainingAncestor)
1143 if (startOfParagraphToMove == destination)
1200 // The moved paragraph should assume the block style of the destination.
1210 ASSERT(destination.deepEquivalent().anchorNode()->inDocument());
1211 cleanupAfterDeletion(destination);
1212 ASSERT(destination.deepEquivalent().anchorNode()->inDocument());
1230 RefPtr<Range> startToDestinationRange(Range::create(document(), firstPositionInNode(document()->documentElement()), destination.deepEquivalent().parentAnchoredEquivalent()));
1233 setEndingSelection(VisibleSelection(destination, originalIsDirectional));