Home
last modified time | relevance | path

Searched refs:endOfSelection (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertListCommand.cpp139 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply() local
140 …VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary… in doApply()
150 … int indexForEndOfSelection = indexForVisiblePosition(endOfSelection, scopeForEndOfSelection); in doApply()
169 …if (endOfSelection.isNull() || endOfSelection.isOrphan() || startOfLastParagraph.isNull() || start… in doApply()
170endOfSelection = visiblePositionForIndex(indexForEndOfSelection, scopeForEndOfSelection.get()); in doApply()
173 ASSERT(endOfSelection.isNotNull()); in doApply()
174 if (endOfSelection.isNull()) in doApply()
176 … startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary); in doApply()
181 setEndingSelection(endOfSelection); in doApply()
185 if (endOfSelection.isNull() || endOfSelection.isOrphan()) { in doApply()
[all …]
DFormatBlockCommand.cpp55 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
59 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection); in formatSelection()
63 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR… in formatRange() argument
74 RefPtrWillBeRawPtr<Range> range = Range::create(document(), start, endOfSelection); in formatRange()
DApplyBlockElementCommand.cpp86 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply() local
88 ASSERT(!endOfSelection.isNull()); in doApply()
92 int endIndex = indexForVisiblePosition(endOfSelection, endScope); in doApply()
94 formatSelection(startOfSelection, endOfSelection); in doApply()
109 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
125 VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection); in formatSelection()
DIndentOutdentCommand.cpp206 …mand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in outdentRegion() argument
209 VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection); in outdentRegion()
242 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
245 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection); in formatSelection()
247 outdentRegion(startOfSelection, endOfSelection); in formatSelection()
DApplyBlockElementCommand.h44 …id formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
52 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
DFormatBlockCommand.h56 …Selection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE;
57 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
DIndentOutdentCommand.h54 …Selection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE;
55 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
DSpellChecker.cpp688 VisiblePosition endOfSelection = frame().selection().selection().visibleEnd(); in updateMarkersForWordsAffectedByEditing() local
695 VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
696 VisiblePosition endOfLastWord = endOfWord(endOfSelection, RightWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
704 startOfLastWord = startOfWord(endOfSelection, LeftWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
705 endOfLastWord = endOfWord(endOfSelection, LeftWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
713 if (startOfFirstWord == endOfSelection) in updateMarkersForWordsAffectedByEditing()
719 if (doNotRemoveIfSelectionAtWordBoundary && startOfLastWord == endOfSelection) { in updateMarkersForWordsAffectedByEditing()
Dhtmlediting.cpp1079 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration() local
1085 if (Element* table = isFirstPositionAfterTable(endOfSelection)) in selectionForParagraphIteration()
1087 …newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBounda… in selectionForParagraphIteration()
1094 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) in selectionForParagraphIteration()
1095 …newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection); in selectionForParagraphIteration()