Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertListCommand.cpp88 VisiblePosition start = selection.visibleStart(); in selectionHasListOfType()
118 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() local
127 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd, CanSkipOverEditingBoundary)) { in doApply()
128 …setEndingSelection(VisibleSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary),… in doApply()
138 VisiblePosition startOfSelection = selection.visibleStart(); in doApply()
179 startOfCurrentParagraph = startOfNextParagraph(endingSelection().visibleStart()); in doApply()
259 unlistifyParagraph(endingSelection().visibleStart(), listElement.get(), listChildNode); in doApplyForSingleParagraph()
263 m_listElement = listifyParagraph(endingSelection().visibleStart(), listTag); in doApplyForSingleParagraph()
DApplyBlockElementCommand.cpp65 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() local
66 …if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan… in doApply()
77 if (visibleEnd != visibleStart && isStartOfParagraph(visibleEnd)) { in doApply()
78 …VisibleSelection newSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endin… in doApply()
85 VisiblePosition startOfSelection = selection.visibleStart(); in doApply()
DTypingCommand.cpp439 VisiblePosition visibleStart(endingSelection().visibleStart()); in deleteKeyPressed() local
440 if (visibleStart.previous(CannotCrossEditingBoundary).isNull()) { in deleteKeyPressed()
447 if (visibleStart.next(CannotCrossEditingBoundary).isNull() && makeEditableRootEmpty()) { in deleteKeyPressed()
454 Node* enclosingTableCell = enclosingNodeOfType(visibleStart.deepEquivalent(), &isTableCell); in deleteKeyPressed()
455 …if (enclosingTableCell && visibleStart == VisiblePosition(firstPositionInNode(enclosingTableCell))) in deleteKeyPressed()
459 …if (isStartOfParagraph(visibleStart) && isFirstPositionAfterTable(visibleStart.previous(CannotCros… in deleteKeyPressed()
461 if (isLastPositionBeforeTable(visibleStart)) in deleteKeyPressed()
466 } else if (Element* table = isFirstPositionAfterTable(visibleStart)) { in deleteKeyPressed()
DReplaceSelectionCommand.cpp860 m_startOfInsertedContent = endingSelection().visibleStart().deepEquivalent(); in mergeEndIfNeeded()
943 VisiblePosition visibleStart = selection.visibleStart(); in doApply() local
947 bool selectionStartWasStartOfParagraph = isStartOfParagraph(visibleStart); in doApply()
949 …Element* enclosingBlockOfVisibleStart = enclosingBlock(visibleStart.deepEquivalent().deprecatedNod… in doApply()
967 …lete = startIsInsideMailBlockquote || isEndOfParagraph(visibleEnd) || isStartOfBlock(visibleStart); in doApply()
971 visibleStart = endingSelection().visibleStart(); in doApply()
973 if (isEndOfParagraph(visibleStart) && !isStartOfParagraph(visibleStart)) { in doApply()
974 if (!isEndOfEditableOrNonEditableContent(visibleStart)) in doApply()
975 setEndingSelection(visibleStart.next()); in doApply()
983 VisiblePosition next = visibleStart.next(CannotCrossEditingBoundary); in doApply()
[all …]
DCompositeEditCommand.cpp1073 VisiblePosition caretAfterDelete = endingSelection().visibleStart(); in cleanupAfterDeletion()
1179 VisiblePosition visibleStart = endingSelection().visibleStart(); in moveParagraphs() local
1182 bool startAfterParagraph = comparePositions(visibleStart, endOfParagraphToMove) > 0; in moveParagraphs()
1186 bool startInParagraph = comparePositions(visibleStart, startOfParagraphToMove) >= 0; in moveParagraphs()
1191 …rator::rangeLength(startOfParagraphToMove.toParentAnchoredPosition(), visibleStart.toParentAnchore… in moveParagraphs()
1266 …() && isStartOfParagraph(endingSelection().visibleStart()) && isEndOfParagraph(endingSelection().v… in moveParagraphs()
1288 … RefPtrWillBeRawPtr<Node> emptyListItem = enclosingEmptyListItem(endingSelection().visibleStart()); in breakOutOfEmptyListItem()
1359 VisiblePosition caret(endingSelection().visibleStart()); in breakOutOfEmptyMailBlockquotedParagraph()
DFrameSelection.cpp490 VisiblePosition startPosition = m_selection.visibleStart(); in directionOfSelection()
562 return isGetStart ? m_selection.visibleStart() : m_selection.visibleEnd(); in positionForPlatform()
568 return m_selection.isBaseFirst() ? m_selection.visibleEnd() : m_selection.visibleStart(); in positionForPlatform()
952 VisiblePosition originalStartPosition = m_selection.visibleStart(); in modify()
1305 if (m_selection.visibleStart().isNull() || m_selection.visibleEnd().isNull()) in contains()
1308 Position start(m_selection.visibleStart().deepEquivalent()); in contains()
1333 if (!isStartOfDocument(selection().visibleStart())) in selectFrameElementInParentIfFullySelected()
1577 selection = VisibleSelection(m_selection.visibleStart(), endVisiblePosition); in updateAppearance()
1602 …if (startPos.isNotNull() && endPos.isNotNull() && selection.visibleStart() != selection.visibleEnd… in updateAppearance()
DSpellChecker.cpp178 VisiblePosition start(selection.visibleStart()); in advanceToNextMisspelling()
363 startOfParagraph(wordSelection.visibleStart()), in markMisspellingsAfterLineBreak()
687 VisiblePosition startOfSelection = frame().selection().selection().visibleStart(); in updateMarkersForWordsAffectedByEditing()
787 VisiblePosition newStart(newSelection.visibleStart()); in respondToChangedSelection()
861 VisiblePosition oldStart(oldSelection.visibleStart()); in spellCheckOldSelection()
DInsertLineBreakCommand.cpp74 VisiblePosition caret(selection.visibleStart()); in doApply()
DVisibleSelection.h76 …VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : af… in visibleStart() function
DBreakBlockquoteCommand.cpp65 VisiblePosition visiblePos = endingSelection().visibleStart(); in doApply()
DDeleteSelectionCommand.cpp132 …if (VisiblePosition(start) != m_selectionToDelete.visibleStart() || VisiblePosition(end) != m_sele… in initializeStartEnd()
795 && isStartOfParagraph(m_selectionToDelete.visibleStart(), CanCrossEditingBoundary) in doApply()
802 if (Element* table = isLastPositionBeforeTable(m_selectionToDelete.visibleStart())) in doApply()
DApplyStyleCommand.cpp253 VisiblePosition visibleStart(start); in applyBlockStyle() local
256 …if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan… in applyBlockStyle()
262 …Node& scope = NodeTraversal::highestAncestorOrSelf(*visibleStart.deepEquivalent().deprecatedNode()… in applyBlockStyle()
263 …> startRange = Range::create(document(), firstPositionInNode(&scope), visibleStart.deepEquivalent(… in applyBlockStyle()
268 VisiblePosition paragraphStart(startOfParagraph(visibleStart)); in applyBlockStyle()
Dmarkup.cpp591 VisiblePosition visibleStart(updatedRange->startPosition(), VP_DEFAULT_AFFINITY); in createMarkupInternal() local
593 if (shouldAnnotate == AnnotateForInterchange && needInterchangeNewlineAfter(visibleStart)) { in createMarkupInternal()
594 if (visibleStart == visibleEnd.previous()) in createMarkupInternal()
598 startNode = visibleStart.next().deepEquivalent().deprecatedNode(); in createMarkupInternal()
DEditor.cpp798 VisiblePosition caret = frame().selection().selection().visibleStart(); in insertLineBreak()
815 VisiblePosition caret = frame().selection().selection().visibleStart(); in insertParagraphSeparator()
1031 VisiblePosition caret = selection.visibleStart(); in transpose()
1137 …typingStyle->prepareToApplyAt(frame().selection().selection().visibleStart().deepEquivalent(), Edi… in computeAndSetTypingStyle()
DIndentOutdentCommand.cpp136 VisiblePosition visibleStartOfParagraph = startOfParagraph(endingSelection().visibleStart()); in outdentParagraph()
DInsertParagraphSeparatorCommand.cpp115 if (!isEndOfBlock(endingSelection().visibleStart())) in shouldUseDefaultParagraphElement()
Dhtmlediting.cpp1078 VisiblePosition startOfSelection(newSelection.visibleStart()); in selectionForParagraphIteration()
DEditingStyle.cpp1350 node = selection.visibleStart().deepEquivalent().deprecatedNode(); in textDirectionForSelection()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp1560 VisiblePosition visibleStart(selection.visibleStart()); in computeCompositedSelectionBounds() local
1563 RenderedPosition renderedStart(visibleStart); in computeCompositedSelectionBounds()
1579 TextDirection startDir = visibleStart.deepEquivalent().primaryDirection(); in computeCompositedSelectionBounds()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXRenderObject.cpp1879 int start = indexForVisiblePosition(visibleSelection.visibleStart()); in ariaSelectedTextRange()
/external/chromium_org/third_party/WebKit/Source/web/
DWebLocalFrameImpl.cpp1156 selectWordAroundPosition(frame(), selection.selection().visibleStart()); in selectWordAroundCaret()