Searched defs:startOfParagraphToMove (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | CompositeEditCommand.cpp | 1093 void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode) argument 1098 VisiblePosition beforeParagraph = startOfParagraphToMove.previous(); 1103 Position start = startOfParagraphToMove.deepEquivalent().downstream(); 1134 void CompositeEditCommand::moveParagraph(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle, Node* constrainingAncestor) argument 1136 ASSERT(isStartOfParagraph(startOfParagraphToMove)); 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) argument 1143 if (startOfParagraphToMove == destination) 1155 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < 0; 1158 bool startInParagraph = comparePositions(visibleStart, startOfParagraphToMove) > [all...] |
H A D | ReplaceSelectionCommand.cpp | 817 VisiblePosition startOfParagraphToMove = mergeForward ? startOfParagraph(endOfInsertedContent) : endOfInsertedContent.next(); local 821 if (endOfParagraph(startOfParagraphToMove) == destination) { 823 insertNodeBefore(placeholder, startOfParagraphToMove.deepEquivalent().deprecatedNode()); 827 moveParagraph(startOfParagraphToMove, endOfParagraph(startOfParagraphToMove), destination); 1147 VisiblePosition startOfParagraphToMove = positionAtStartOfInsertedContent(); local 1148 VisiblePosition destination = startOfParagraphToMove.previous(); 1164 if (startOfParagraph(endOfInsertedContent) == startOfParagraphToMove) { 1167 if (!startOfParagraphToMove.deepEquivalent().anchorNode()->inDocument()) 1173 moveParagraph(startOfParagraphToMove, endOfParagrap [all...] |
Completed in 45 milliseconds