Home
last modified time | relevance | path

Searched refs:visibleStart (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/Source/WebCore/editing/
DInsertListCommand.cpp85 VisiblePosition start = selection.visibleStart(); in selectionHasListOfType()
115 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() local
124 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd, CanSkipOverEditingBoundary)) in doApply()
125 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary))… in doApply()
131 VisiblePosition startOfSelection = selection.visibleStart(); in doApply()
173 startOfSelection = endingSelection().visibleStart(); in doApply()
175 startOfCurrentParagraph = startOfNextParagraph(endingSelection().visibleStart()); in doApply()
246 unlistifyParagraph(endingSelection().visibleStart(), listNode.get(), listChildNode); in doApplyForSingleParagraph()
250 m_listElement = listifyParagraph(endingSelection().visibleStart(), listTag); in doApplyForSingleParagraph()
DReplaceSelectionCommand.cpp757 … m_firstNodeInserted = endingSelection().visibleStart().deepEquivalent().deprecatedNode(); in mergeEndIfNeeded()
834 VisiblePosition visibleStart = selection.visibleStart(); in doApply() local
838 bool selectionStartWasStartOfParagraph = isStartOfParagraph(visibleStart); in doApply()
840 Node* startBlock = enclosingBlock(visibleStart.deepEquivalent().deprecatedNode()); in doApply()
856 …lete = startIsInsideMailBlockquote || isEndOfParagraph(visibleEnd) || isStartOfBlock(visibleStart); in doApply()
860 visibleStart = endingSelection().visibleStart(); in doApply()
862 if (isEndOfParagraph(visibleStart) && !isStartOfParagraph(visibleStart)) { in doApply()
863 if (!isEndOfDocument(visibleStart)) in doApply()
864 setEndingSelection(visibleStart.next()); in doApply()
872 VisiblePosition next = visibleStart.next(CannotCrossEditingBoundary); in doApply()
[all …]
DApplyBlockElementCommand.cpp65 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() local
74 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) in doApply()
75 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary))… in doApply()
78 VisiblePosition startOfSelection = selection.visibleStart(); in doApply()
DTypingCommand.cpp494 if (endingSelection().visibleStart().previous(CannotCrossEditingBoundary).isNull()) { in deleteKeyPressed()
501 …if (endingSelection().visibleStart().next(CannotCrossEditingBoundary).isNull() && makeEditableRoot… in deleteKeyPressed()
507 VisiblePosition visibleStart(endingSelection().visibleStart()); in deleteKeyPressed() local
509 if (isEmptyTableCell(visibleStart.deepEquivalent().deprecatedNode())) in deleteKeyPressed()
513 …if (isStartOfParagraph(visibleStart) && isFirstPositionAfterTable(visibleStart.previous(CannotCros… in deleteKeyPressed()
515 if (isLastPositionBeforeTable(visibleStart)) in deleteKeyPressed()
520 } else if (Node* table = isFirstPositionAfterTable(visibleStart)) { in deleteKeyPressed()
DCompositeEditCommand.cpp835 VisiblePosition caretAfterDelete = endingSelection().visibleStart(); in cleanupAfterDeletion()
926 VisiblePosition visibleStart = endingSelection().visibleStart(); in moveParagraphs() local
929 bool startAfterParagraph = comparePositions(visibleStart, endOfParagraphToMove) > 0; in moveParagraphs()
933 bool startInParagraph = comparePositions(visibleStart, startOfParagraphToMove) >= 0; in moveParagraphs()
938 …, startOfParagraphToMove.deepEquivalent().parentAnchoredEquivalent(), visibleStart.deepEquivalent(… in moveParagraphs()
1020 …() && isStartOfParagraph(endingSelection().visibleStart()) && isEndOfParagraph(endingSelection().v… in moveParagraphs()
1040 Node* emptyListItem = enclosingEmptyListItem(endingSelection().visibleStart()); in breakOutOfEmptyListItem()
1108 VisiblePosition caret(endingSelection().visibleStart()); in breakOutOfEmptyMailBlockquotedParagraph()
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()
1343 Position start(m_selection.visibleStart().deepEquivalent()); in contains()
1368 if (!isStartOfDocument(selection().visibleStart())) in selectFrameElementInParentIfFullySelected()
1459 …VisiblePosition visibleStart(Position(startContainer, startOffset, Position::PositionIsOffsetInAnc… in setSelectedRange() local
1464 setSelection(VisibleSelection(visibleStart, visibleEnd), options); in setSelectedRange()
1621 …if (startPos.isNotNull() && endPos.isNotNull() && selection.visibleStart() != selection.visibleEnd… in updateAppearance()
DVisibleSelection.h70 …VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : af… in visibleStart() function
DInsertLineBreakCommand.cpp95 VisiblePosition caret(selection.visibleStart()); in doApply()
DBreakBlockquoteCommand.cpp62 VisiblePosition visiblePos = endingSelection().visibleStart(); in doApply()
DDeleteSelectionCommand.cpp134 …if (VisiblePosition(start) != m_selectionToDelete.visibleStart() || VisiblePosition(end) != m_sele… in initializeStartEnd()
771 …m_needPlaceholder = isStartOfParagraph(m_selectionToDelete.visibleStart(), CanCrossEditingBoundary) in doApply()
778 if (Node* table = isLastPositionBeforeTable(m_selectionToDelete.visibleStart())) in doApply()
Dmarkup.cpp562 VisiblePosition visibleStart(updatedRange->startPosition(), VP_DEFAULT_AFFINITY); in createMarkup() local
564 if (shouldAnnotate == AnnotateForInterchange && needInterchangeNewlineAfter(visibleStart)) { in createMarkup()
565 if (visibleStart == visibleEnd.previous()) { in createMarkup()
572 startNode = visibleStart.next().deepEquivalent().deprecatedNode(); in createMarkup()
DEditor.cpp605 node = m_frame->selection()->selection().visibleStart().deepEquivalent().deprecatedNode(); in textDirectionForSelection()
663 … startNode = m_frame->selection()->selection().visibleStart().deepEquivalent().deprecatedNode(); in hasBidiSelection()
1689 VisiblePosition start(selection.visibleStart()); in advanceToNextMisspelling()
2516 VisiblePosition caret = selection.visibleStart(); in transpose()
2819 …typingStyle->prepareToApplyAt(m_frame->selection()->selection().visibleStart().deepEquivalent(), E… in computeAndSetTypingStyle()
2925 Position position = m_frame->selection()->selection().visibleStart().deepEquivalent(); in styleForSelectionStart()
2975 … setStart(searchRange.get(), startInSelection ? selection.visibleStart() : selection.visibleEnd()); in findString()
2977 … setEnd(searchRange.get(), startInSelection ? selection.visibleEnd() : selection.visibleStart()); in findString()
2997 setEnd(searchRange.get(), selection.visibleStart()); in findString()
3159 VisiblePosition newStart(m_frame->selection()->selection().visibleStart()); in respondToChangedSelection()
[all …]
DApplyStyleCommand.cpp248 VisiblePosition visibleStart(start); in applyBlockStyle() local
251 …if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan… in applyBlockStyle()
257 Node* scope = highestAncestor(visibleStart.deepEquivalent().deprecatedNode()); in applyBlockStyle()
258 …RefPtr<Range> startRange = Range::create(document(), firstPositionInNode(scope), visibleStart.deep… in applyBlockStyle()
263 VisiblePosition paragraphStart(startOfParagraph(visibleStart)); in applyBlockStyle()
DIndentOutdentCommand.cpp119 VisiblePosition visibleStartOfParagraph = startOfParagraph(endingSelection().visibleStart()); in outdentParagraph()
DInsertParagraphSeparatorCommand.cpp112 if (!isEndOfBlock(endingSelection().visibleStart())) in shouldUseDefaultParagraphElement()
DSpellingCorrectionController.cpp131 VisiblePosition startOfSelection = selectionAfterTyping.visibleStart(); in applyPendingCorrection()
DVisibleSelection.cpp223 …return !shadowTreeRootNode() && visibleStart().previous(rule).isNull() && visibleEnd().next(rule).… in isAll()
Dhtmlediting.cpp1018 VisiblePosition startOfSelection(newSelection.visibleStart()); in selectionForParagraphIteration()
/external/webkit/Source/WebCore/editing/mac/
DEditorMac.mm160 Position pos = m_frame->selection()->selection().visibleStart().deepEquivalent();
/external/webkit/Source/WebCore/accessibility/
DAccessibilityRenderObject.cpp1487 …VisiblePositionRange range = VisiblePositionRange(visSelection.visibleStart(), visSelection.visibl… in clickPoint()
2461 …return VisiblePositionRange(selection.selection().visibleStart(), selection.selection().visibleEnd… in visiblePositionRangeForLine()
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
DWebPageMac.mm480 VisiblePosition selectionStart = selection.visibleStart();
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.cpp1328 selectWordAroundPosition(frame(), controller->selection().visibleStart()); in selectWordAroundCaret()
/external/webkit/Source/WebCore/accessibility/mac/
DAccessibilityObjectWrapper.mm1161 …return [self textMarkerRangeFromVisiblePositions:selection.visibleStart() endPosition:selection.vi…
/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-102987 (WebCore::Selection::visibleStart): Added.

12