Searched refs:startOfParagraphToMove (Results 1 - 4 of 4) sorted by relevance
/macosx-10.9.5/WebCore-7537.78.1/editing/ |
H A D | DeleteSelectionCommand.cpp | 608 VisiblePosition startOfParagraphToMove(m_downstreamEnd); 614 if (!endBlock || !endBlock->contains(startOfParagraphToMove.deepEquivalent().deprecatedNode()) || !startOfParagraphToMove.deepEquivalent().deprecatedNode()) { 625 if (mergeDestination == startOfParagraphToMove) 628 VisiblePosition endOfParagraphToMove = endOfParagraph(startOfParagraphToMove); 635 if (!m_startsAtEmptyLine && isStartOfParagraph(mergeDestination) && startOfParagraphToMove.absoluteCaretBounds().x() > mergeDestination.absoluteCaretBounds().x()) { 638 m_endingPosition = startOfParagraphToMove.deepEquivalent(); 646 if (isRenderedAsNonInlineTableImageOrHR(startOfParagraphToMove.deepEquivalent().deprecatedNode()) && !isStartOfParagraph(mergeDestination)) { 651 RefPtr<Range> range = Range::create(document(), startOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent(), endOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent()); 659 bool paragraphToMergeIsEmpty = (startOfParagraphToMove [all...] |
H A D | CompositeEditCommand.cpp | 1104 void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode) argument 1109 VisiblePosition beforeParagraph = startOfParagraphToMove.previous(); 1114 Position start = startOfParagraphToMove.deepEquivalent().downstream(); 1115 Position end = startOfParagraphToMove == endOfParagraphToMove ? start : endOfParagraphToMove.deepEquivalent().upstream(); 1147 void CompositeEditCommand::moveParagraph(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle) argument 1149 ASSERT(isStartOfParagraph(startOfParagraphToMove)); 1151 moveParagraphs(startOfParagraphToMove, endOfParagraphToMove, destination, preserveSelection, preserveStyle); 1154 void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle) argument 1156 if (startOfParagraphToMove == destination) 1168 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < [all...] |
H A D | ReplaceSelectionCommand.cpp | 818 VisiblePosition startOfParagraphToMove = mergeForward ? startOfParagraph(endOfInsertedContent) : endOfInsertedContent.next(); local 822 if (endOfParagraph(startOfParagraphToMove) == destination) { 824 insertNodeBefore(placeholder, startOfParagraphToMove.deepEquivalent().deprecatedNode()); 828 moveParagraph(startOfParagraphToMove, endOfParagraph(startOfParagraphToMove), destination); 1148 VisiblePosition startOfParagraphToMove = positionAtStartOfInsertedContent(); local 1149 VisiblePosition destination = startOfParagraphToMove.previous(); 1165 if (startOfParagraph(endOfInsertedContent) == startOfParagraphToMove) { 1168 if (!startOfParagraphToMove.deepEquivalent().anchorNode()->inDocument()) 1174 moveParagraph(startOfParagraphToMove, endOfParagrap [all...] |
H A D | CompositeEditCommand.h | 159 void moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode);
|
Completed in 187 milliseconds