Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/editing/
DInsertListCommand.cpp132 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply() local
133 …VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary… in doApply()
155 int indexForEndOfSelection = indexForVisiblePosition(endOfSelection); in doApply()
157 …if (endOfSelection.isNull() || endOfSelection.isOrphan() || startOfLastParagraph.isNull() || start… in doApply()
164 endOfSelection = lastSelectionRange->startPosition(); in doApply()
165 … startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary); in doApply()
177 setEndingSelection(endOfSelection); in doApply()
180 endOfSelection = endingSelection().visibleEnd(); in doApply()
181 setEndingSelection(VisibleSelection(startOfSelection, endOfSelection)); in doApply()
DIndentOutdentCommand.cpp183 …mand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in outdentRegion() argument
185 VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection); in outdentRegion()
194 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next()); in outdentRegion()
219 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
222 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection); in formatSelection()
224 outdentRegion(startOfSelection, endOfSelection); in formatSelection()
DApplyBlockElementCommand.cpp79 VisiblePosition endOfSelection = selection.visibleEnd(); in doApply() local
81 ASSERT(!endOfSelection.isNull()); in doApply()
83 int endIndex = indexForVisiblePosition(endOfSelection); in doApply()
85 formatSelection(startOfSelection, endOfSelection); in doApply()
95 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
111 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next()); in formatSelection()
112 m_endOfLastParagraph = endOfParagraph(endOfSelection).deepEquivalent(); in formatSelection()
DFormatBlockCommand.cpp53 …nd::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) in formatSelection() argument
57 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection); in formatSelection()
61 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Elemen… in formatRange() argument
67 RefPtr<Range> range = Range::create(document(), start, endOfSelection); in formatRange()
DFormatBlockCommand.h49 …id formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
50 …void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPt…
DApplyBlockElementCommand.h43 …id formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
49 …matRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Elemen…
DIndentOutdentCommand.h55 …id formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
56 …void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPt…
Dhtmlediting.cpp1019 VisiblePosition endOfSelection(newSelection.visibleEnd()); in selectionForParagraphIteration() local
1025 if (Node* table = isFirstPositionAfterTable(endOfSelection)) in selectionForParagraphIteration()
1027 …newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBounda… in selectionForParagraphIteration()
1034 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) in selectionForParagraphIteration()
1035 …newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection); in selectionForParagraphIteration()
DEditor.cpp2385 VisiblePosition endOfSelection = frame()->selection()->selection().end(); in updateMarkersForWordsAffectedByEditing() local
2392 VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
2393 VisiblePosition endOfLastWord = endOfWord(endOfSelection, RightWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
2401 startOfLastWord = startOfWord(endOfSelection, LeftWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
2402 endOfLastWord = endOfWord(endOfSelection, LeftWordIfOnBoundary); in updateMarkersForWordsAffectedByEditing()
2410 if (startOfFirstWord == endOfSelection) in updateMarkersForWordsAffectedByEditing()
2416 if (doNotRemoveIfSelectionAtWordBoundary && startOfLastWord == endOfSelection) { in updateMarkersForWordsAffectedByEditing()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1063544 Renamed visibleStart to startOfSelection and visibleEnd to endOfSelection.
DChangeLog-2010-12-0671191 … In doApply, if moveParagraph or moveParagraphWithClones, endOfSelection or startOfLastParagraph