Searched defs:startOfParagraphToMove (Results 1 - 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/editing/
H A DReplaceSelectionCommand.cpp738 VisiblePosition startOfParagraphToMove = mergeForward ? startOfParagraph(endOfInsertedContent) : endOfInsertedContent.next(); local
742 if (endOfParagraph(startOfParagraphToMove) == destination) {
744 insertNodeBefore(placeholder, startOfParagraphToMove.deepEquivalent().deprecatedNode());
748 moveParagraph(startOfParagraphToMove, endOfParagraph(startOfParagraphToMove), destination);
1053 VisiblePosition startOfParagraphToMove = startOfInsertedContent; local
1069 if (startOfParagraph(endOfInsertedContent) == startOfParagraphToMove) {
1072 if (!startOfParagraphToMove.deepEquivalent().anchorNode()->inDocument())
1078 moveParagraph(startOfParagraphToMove, endOfParagraph(startOfParagraphToMove), destinatio
[all...]
H A DCompositeEditCommand.cpp867 void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode) argument
872 VisiblePosition beforeParagraph = startOfParagraphToMove.previous();
877 Position start = startOfParagraphToMove.deepEquivalent().downstream();
910 void CompositeEditCommand::moveParagraph(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle) argument
912 ASSERT(isStartOfParagraph(startOfParagraphToMove));
914 moveParagraphs(startOfParagraphToMove, endOfParagraphToMove, destination, preserveSelection, preserveStyle);
917 void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle) argument
919 if (startOfParagraphToMove == destination)
930 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < 0;
933 bool startInParagraph = comparePositions(visibleStart, startOfParagraphToMove) >
[all...]

Completed in 137 milliseconds