Home | History | Annotate | Download | only in editing

Lines Matching refs:endOfSelection

132         VisiblePosition endOfSelection = selection.visibleEnd();
133 VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary);
145 // the new location of endOfSelection and use it as the end of the new selection.
150 // Save and restore endOfSelection and startOfLastParagraph when necessary
153 // the beginning of the document to the endOfSelection everytime this code is executed.
155 int indexForEndOfSelection = indexForVisiblePosition(endOfSelection);
157 if (endOfSelection.isNull() || endOfSelection.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
164 endOfSelection = lastSelectionRange->startPosition();
165 startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary);
177 setEndingSelection(endOfSelection);
180 endOfSelection = endingSelection().visibleEnd();
181 setEndingSelection(VisibleSelection(startOfSelection, endOfSelection));