Searched refs:endOfSelection (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | InsertListCommand.cpp | 139 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() 170 … endOfSelection = 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 …]
|
D | FormatBlockCommand.cpp | 55 …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()
|
D | ApplyBlockElementCommand.cpp | 86 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()
|
D | IndentOutdentCommand.cpp | 206 …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()
|
D | ApplyBlockElementCommand.h | 44 …id formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection); 52 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
|
D | FormatBlockCommand.h | 56 …Selection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE; 57 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
|
D | IndentOutdentCommand.h | 54 …Selection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE; 55 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeR…
|
D | SpellChecker.cpp | 688 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()
|
D | htmlediting.cpp | 1079 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()
|