Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/editing/
DInsertListCommand.cpp90 VisiblePosition end = selection.visibleEnd(); in selectionHasListOfType()
114 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() local
124 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd, CanSkipOverEditingBoundary)) in doApply()
125 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary))… in doApply()
132 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply()
180 endOfSelection = endingSelection().visibleEnd(); in doApply()
DApplyBlockElementCommand.cpp64 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() local
74 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) in doApply()
75 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary))… in doApply()
79 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply()
DDeleteSelectionCommand.cpp134 … != m_selectionToDelete.visibleStart() || VisiblePosition(end) != m_selectionToDelete.visibleEnd()) in initializeStartEnd()
202 VisiblePosition visibleEnd(m_downstreamEnd); in initializePositionData() local
203 if (m_mergeBlocksAfterDelete && !isEndOfParagraph(visibleEnd)) in initializePositionData()
215 && isStartOfParagraph(visibleEnd) && isStartOfParagraph(VisiblePosition(start)) in initializePositionData()
711 VisiblePosition visibleEnd(m_endingPosition); in calculateTypingStyleAfterDelete() local
713 isStartOfParagraph(visibleEnd) && in calculateTypingStyleAfterDelete()
714 isEndOfParagraph(visibleEnd) && in calculateTypingStyleAfterDelete()
715 lineBreakExistsAtVisiblePosition(visibleEnd)) { in calculateTypingStyleAfterDelete()
721 setEndingSelection(visibleEnd); in calculateTypingStyleAfterDelete()
772 && isEndOfParagraph(m_selectionToDelete.visibleEnd(), CanCrossEditingBoundary) in doApply()
[all …]
DTypingCommand.cpp591 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in forwardDeleteKeyPressed() local
592 if (visibleEnd == endOfParagraph(visibleEnd)) in forwardDeleteKeyPressed()
593 … downstreamEnd = visibleEnd.next(CannotCrossEditingBoundary).deepEquivalent().downstream(); in forwardDeleteKeyPressed()
602 …oundary && selection.selection().isCaret() && isEndOfParagraph(selection.selection().visibleEnd())) in forwardDeleteKeyPressed()
DCompositeEditCommand.cpp711 VisiblePosition visibleEnd = next.isNotNull() ? next : visibleParagraphEnd; in moveParagraphContentsToNewBlockIfNecessary() local
714 Position upstreamEnd = visibleEnd.deepEquivalent().upstream(); in moveParagraphContentsToNewBlockIfNecessary()
741 } else if (isEndOfDocument(visibleEnd)) { in moveParagraphContentsToNewBlockIfNecessary()
927 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in moveParagraphs() local
930 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < 0; in moveParagraphs()
934 bool endInParagraph = comparePositions(visibleEnd, endOfParagraphToMove) <= 0; in moveParagraphs()
944 …), startOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent(), visibleEnd.deepEquivalent()… in moveParagraphs()
DSelectionController.cpp398 return isGetStart ? m_selection.visibleStart() : m_selection.visibleEnd(); in positionForPlatform()
404 return m_selection.isBaseFirst() ? m_selection.visibleEnd() : m_selection.visibleStart(); in positionForPlatform()
1340 if (m_selection.visibleStart().isNull() || m_selection.visibleEnd().isNull()) in contains()
1344 Position end(m_selection.visibleEnd().deepEquivalent()); in contains()
1370 if (!isEndOfDocument(selection().visibleEnd())) in selectFrameElementInParentIfFullySelected()
1460 …VisiblePosition visibleEnd(Position(endContainer, endOffset, Position::PositionIsOffsetInAnchor), … in setSelectedRange() local
1464 setSelection(VisibleSelection(visibleStart, visibleEnd), options); in setSelectedRange()
1621 …startPos.isNotNull() && endPos.isNotNull() && selection.visibleStart() != selection.visibleEnd()) { in updateAppearance()
DVisibleSelection.h71 …VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity… in visibleEnd() function
DReplaceSelectionCommand.cpp835 VisiblePosition visibleEnd = selection.visibleEnd(); in doApply() local
837 bool selectionEndWasEndOfParagraph = isEndOfParagraph(visibleEnd); in doApply()
856 …bool mergeBlocksAfterDelete = startIsInsideMailBlockquote || isEndOfParagraph(visibleEnd) || isSta… in doApply()
1081 … m_lastLeafInserted = endingSelection().visibleEnd().deepEquivalent().upstream().deprecatedNode(); in doApply()
DInsertLineBreakCommand.cpp181 setEndingSelection(endingSelection().visibleEnd()); in doApply()
DInsertTextCommand.cpp100 setEndingSelection(VisibleSelection(endingSelection().visibleEnd())); in performTrivialReplace()
DApplyStyleCommand.cpp249 VisiblePosition visibleEnd(end); in applyBlockStyle() local
251 …if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan… in applyBlockStyle()
259 …RefPtr<Range> endRange = Range::create(document(), firstPositionInNode(scope), visibleEnd.deepEqui… in applyBlockStyle()
265 VisiblePosition beyondEnd(endOfParagraph(visibleEnd).next()); in applyBlockStyle()
Dmarkup.cpp563 VisiblePosition visibleEnd(updatedRange->endPosition(), VP_DEFAULT_AFFINITY); in createMarkup() local
565 if (visibleStart == visibleEnd.previous()) { in createMarkup()
664 …if (shouldAnnotate == AnnotateForInterchange && needInterchangeNewlineAfter(visibleEnd.previous())) in createMarkup()
DSpellingCorrectionController.cpp133 if (currentWord.visibleEnd() == startOfSelection) { in applyPendingCorrection()
DVisibleSelection.cpp223 …return !shadowTreeRootNode() && visibleStart().previous(rule).isNull() && visibleEnd().next(rule).… in isAll()
DEditor.cpp1694 setStart(spellingSearchRange.get(), selection.visibleEnd()); in advanceToNextMisspelling()
2975 … setStart(searchRange.get(), startInSelection ? selection.visibleStart() : selection.visibleEnd()); in findString()
2977 … setEnd(searchRange.get(), startInSelection ? selection.visibleEnd() : selection.visibleStart()); in findString()
2995 setStart(searchRange.get(), selection.visibleEnd()); in findString()
Dhtmlediting.cpp1019 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityRenderObject.cpp1487 …PositionRange range = VisiblePositionRange(visSelection.visibleStart(), visSelection.visibleEnd()); in clickPoint()
2461 …urn VisiblePositionRange(selection.selection().visibleStart(), selection.selection().visibleEnd()); in visiblePositionRangeForLine()
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
DWebPageMac.mm481 VisiblePosition selectionEnd = selection.visibleEnd();
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp2630 VisiblePosition endPosition = realObject->selection().visibleEnd(); in objectAndOffsetUnignored()
/external/webkit/Source/WebCore/accessibility/mac/
DAccessibilityObjectWrapper.mm1161 …f textMarkerRangeFromVisiblePositions:selection.visibleStart() endPosition:selection.visibleEnd()];
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1638211 visibleEnd/visibleStart rather than using end/start and always using UPSTREAM.
38216 (WebCore::SelectionController::positionForPlatform): Use visibleStart/visibleEnd rather than
42448 (WebCore::SelectionController::positionForPlatform): Use visibleStart/visibleEnd rather than
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-2010-12-0632565 …h was caused by applyBlockStyle's invalidly assuming that visibleStart and visibleEnd always exist.
32566 … Added an early exit to the function when either visibleStart or visibleEnd is null or orphaned.
DChangeLog-2008-08-1063544 Renamed visibleStart to startOfSelection and visibleEnd to endOfSelection.

12