Home
last modified time | relevance | path

Searched refs:visibleEnd (Results 1 – 23 of 23) sorted by relevance

/external/webkit/WebCore/editing/
DFormatBlockCommand.cpp48 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in modifyRange() local
49 VisiblePosition startOfLastParagraph = startOfParagraph(visibleEnd); in modifyRange()
63 setEndingSelection(visibleEnd); in modifyRange()
65 visibleEnd = endingSelection().visibleEnd(); in modifyRange()
66 …setEndingSelection(VisibleSelection(visibleStart.deepEquivalent(), visibleEnd.deepEquivalent(), DO… in modifyRange()
79 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() local
89 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) in doApply()
90 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(true))); in doApply()
DInsertListCommand.cpp67 VisiblePosition endOfSelection = selection.visibleEnd(); in modifyRange()
101 endOfSelection = endingSelection().visibleEnd(); in modifyRange()
115 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() local
125 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) in doApply()
126 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(true))); in doApply()
158 end = endOfParagraph(endingSelection().visibleEnd()); in doApply()
207 VisiblePosition end = endOfParagraph(endingSelection().visibleEnd()); in doApply()
DDeleteSelectionCommand.cpp138 … != m_selectionToDelete.visibleStart() || VisiblePosition(end) != m_selectionToDelete.visibleEnd()) in initializeStartEnd()
192 VisiblePosition visibleEnd(m_downstreamEnd); in initializePositionData() local
193 if (m_mergeBlocksAfterDelete && !isEndOfParagraph(visibleEnd)) in initializePositionData()
205 && isStartOfParagraph(visibleEnd) && isStartOfParagraph(VisiblePosition(start)) in initializePositionData()
677 VisiblePosition visibleEnd(m_endingPosition); in calculateTypingStyleAfterDelete() local
679 isStartOfParagraph(visibleEnd) && in calculateTypingStyleAfterDelete()
680 isEndOfParagraph(visibleEnd) && in calculateTypingStyleAfterDelete()
681 lineBreakExistsAtVisiblePosition(visibleEnd)) { in calculateTypingStyleAfterDelete()
687 setEndingSelection(visibleEnd); in calculateTypingStyleAfterDelete()
738 isEndOfParagraph(m_selectionToDelete.visibleEnd()) && in doApply()
[all …]
DIndentOutdentCommand.cpp284 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() local
294 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) in doApply()
295 setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(true))); in doApply()
299 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply()
DTypingCommand.cpp534 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in forwardDeleteKeyPressed() local
535 if (visibleEnd == endOfParagraph(visibleEnd)) in forwardDeleteKeyPressed()
536 downstreamEnd = visibleEnd.next(true).deepEquivalent().downstream(); in forwardDeleteKeyPressed()
545 …oundary && selection.selection().isCaret() && isEndOfParagraph(selection.selection().visibleEnd())) in forwardDeleteKeyPressed()
DCompositeEditCommand.cpp659 VisiblePosition visibleEnd = next.isNotNull() ? next : visibleParagraphEnd; in moveParagraphContentsToNewBlockIfNecessary() local
662 Position upstreamEnd = visibleEnd.deepEquivalent().upstream(); in moveParagraphContentsToNewBlockIfNecessary()
691 else if (isEndOfDocument(visibleEnd)) { in moveParagraphContentsToNewBlockIfNecessary()
726 VisiblePosition visibleEnd(originalSelection.end()); in pushPartiallySelectedAnchorElementsDown() local
735 if (endAnchor && endOfEndAnchor != visibleEnd) in pushPartiallySelectedAnchorElementsDown()
895 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in moveParagraphs() local
898 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < 0; in moveParagraphs()
902 bool endInParagraph = comparePositions(visibleEnd, endOfParagraphToMove) <= 0; in moveParagraphs()
912 …ent(startOfParagraphToMove.deepEquivalent()), rangeCompliantEquivalent(visibleEnd.deepEquivalent()… in moveParagraphs()
DSelectionController.cpp1112 if (m_selection.visibleStart().isNull() || m_selection.visibleEnd().isNull()) in contains()
1116 Position end(m_selection.visibleEnd().deepEquivalent()); in contains()
1142 if (!isEndOfDocument(selection().visibleEnd())) in selectFrameElementInParentIfFullySelected()
1233 VisiblePosition visibleEnd(endContainer, endOffset, SEL_DEFAULT_AFFINITY); in setSelectedRange() local
1234 setSelection(VisibleSelection(visibleStart, visibleEnd), closeTyping); in setSelectedRange()
1371 …startPos.isNotNull() && endPos.isNotNull() && selection.visibleStart() != selection.visibleEnd()) { in updateAppearance()
DReplaceSelectionCommand.cpp744 VisiblePosition visibleEnd = selection.visibleEnd(); in doApply() local
746 bool selectionEndWasEndOfParagraph = isEndOfParagraph(visibleEnd); in doApply()
765 …bool mergeBlocksAfterDelete = startIsInsideMailBlockquote || isEndOfParagraph(visibleEnd) || isSta… in doApply()
954 m_lastLeafInserted = endingSelection().visibleEnd().deepEquivalent().upstream().node(); in doApply()
DVisibleSelection.h70 …VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity… in visibleEnd() function
DInsertLineBreakCommand.cpp177 setEndingSelection(endingSelection().visibleEnd()); in doApply()
DInsertTextCommand.cpp104 setEndingSelection(VisibleSelection(endingSelection().visibleEnd())); in performTrivialReplace()
Dmarkup.cpp833 VisiblePosition visibleEnd(updatedRange->endPosition(), VP_DEFAULT_AFFINITY); in createMarkup() local
835 if (visibleStart == visibleEnd.previous()) { in createMarkup()
1050 if (annotate && needInterchangeNewlineAfter(visibleEnd.previous())) in createMarkup()
DVisibleSelection.cpp227 …otNode() && visibleStart().previous(stayInEditableContent).isNull() && visibleEnd().next(stayInEdi… in isAll()
DApplyStyleCommand.cpp595 VisiblePosition visibleEnd(end); in applyBlockStyle() local
602 …Range = Range::create(document(), rangeStart, rangeCompliantEquivalent(visibleEnd.deepEquivalent()… in applyBlockStyle()
608 VisiblePosition beyondEnd(endOfParagraph(visibleEnd).next()); in applyBlockStyle()
Dhtmlediting.cpp1053 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration()
DEditor.cpp1842 setStart(spellingSearchRange.get(), selection.visibleEnd()); in advanceToNextMisspelling()
/external/webkit/WebCore/page/
DFrame.cpp1420 … setStart(searchRange.get(), startInSelection ? selection.visibleStart() : selection.visibleEnd()); in findString()
1422 … setEnd(searchRange.get(), startInSelection ? selection.visibleEnd() : selection.visibleStart()); in findString()
1440 setStart(searchRange.get(), selection.visibleEnd()); in findString()
/external/webkit/WebCore/accessibility/
DAccessibilityRenderObject.cpp1222 …PositionRange range = VisiblePositionRange(visSelection.visibleStart(), visSelection.visibleEnd()); in clickPoint()
2168 …urn VisiblePositionRange(selection.selection().visibleStart(), selection.selection().visibleEnd()); in visiblePositionRangeForLine()
2383 VisiblePosition endPosition = selection.selection().visibleEnd(); in doAXRangeForLine()
/external/webkit/WebCore/accessibility/mac/
DAccessibilityObjectWrapper.mm1029 return textMarkerRangeFromVisiblePositions(selection.visibleStart(), selection.visibleEnd());
/external/webkit/WebCore/
DChangeLog-2006-05-102988 (WebCore::Selection::visibleEnd): Added.
DChangeLog-2005-12-196762 …Remove erroneous check for isStartOfParagraph(visibleEnd) when deciding whether to clear m_mergeBl…
DChangeLog-2008-08-1063544 Renamed visibleStart to startOfSelection and visibleEnd to endOfSelection.
DChangeLog-2009-06-1640466 (WebCore::VisibleSelection::visibleEnd):