Lines Matching refs:endOfCurrentParagraph
71 bool IndentOutdentCommand::tryIndentingAsListItem(const VisiblePosition& endOfCurrentParagraph) in tryIndentingAsListItem() argument
74 Node* lastNodeInSelectedParagraph = endOfCurrentParagraph.deepEquivalent().node(); in tryIndentingAsListItem()
80 …Element* selectedListItem = static_cast<Element*>(enclosingBlock(endOfCurrentParagraph.deepEquival… in tryIndentingAsListItem()
101 … VisiblePosition& startOfCurrentParagraph, const VisiblePosition& endOfCurrentParagraph, RefPtr<El… in indentIntoBlockquote() argument
115 VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); in indentIntoBlockquote()
116 appendParagraphIntoNode(startOfCurrentParagraph, endOfCurrentParagraph, targetBlockquote.get()); in indentIntoBlockquote()
205 VisiblePosition endOfCurrentParagraph = endOfParagraph(startOfSelection); in indentRegion() local
207 while (endOfCurrentParagraph != endAfterSelection) { in indentRegion()
209 VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); in indentRegion()
210 if (tryIndentingAsListItem(endOfCurrentParagraph)) in indentRegion()
213 VisiblePosition startOfCurrentParagraph = startOfParagraph(endOfCurrentParagraph); in indentRegion()
214 Node* blockNode = enclosingBlock(endOfCurrentParagraph.deepEquivalent().node()); in indentRegion()
217 …Element* unsplittableNode = unsplittableElementForPosition(endOfCurrentParagraph.deepEquivalent()); in indentRegion()
218 …RefPtr<Range> originalRange = createRange(document(), endOfCurrentParagraph, endOfCurrentParagraph… in indentRegion()
222 endOfCurrentParagraph = endOfParagraph(extendedRange->endPosition().previous()); in indentRegion()
226 endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); in indentRegion()
227 …indentIntoBlockquote(startOfCurrentParagraph, endOfCurrentParagraph, blockquoteForNextIndent, bloc… in indentRegion()
236 endOfCurrentParagraph = endOfNextParagraph; in indentRegion()
322 …VisiblePosition endOfCurrentParagraph = endOfParagraph(endOfParagraph(endingSelection().visibleSta… in outdentRegion() local
324 while (endOfCurrentParagraph != endAfterSelection) { in outdentRegion()
325 VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); in outdentRegion()
326 if (endOfCurrentParagraph == endOfLastParagraph) in outdentRegion()
329 setEndingSelection(endOfCurrentParagraph); in outdentRegion()
331 endOfCurrentParagraph = endOfNextParagraph; in outdentRegion()