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

/external/webkit/Source/WebCore/editing/
H A DFormatBlockCommand.h49 void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
50 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
H A DApplyBlockElementCommand.h43 virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
49 virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0;
H A DIndentOutdentCommand.h55 void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
56 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockquoteForNextIndent);
H A DFormatBlockCommand.cpp53 void FormatBlockCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
57 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection);
61 void FormatBlockCommand::formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockNode) argument
67 RefPtr<Range> range = Range::create(document(), start, endOfSelection);
H A DIndentOutdentCommand.cpp183 void IndentOutdentCommand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
185 VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection);
194 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next());
219 void IndentOutdentCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
222 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection);
224 outdentRegion(startOfSelection, endOfSelection);
H A DInsertListCommand.cpp132 VisiblePosition endOfSelection = selection.visibleEnd(); local
133 VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary);
145 // the new location of endOfSelection and use it as the end of the new selection.
150 // Save and restore endOfSelection and startOfLastParagraph when necessary
153 // the beginning of the document to the endOfSelection everytime this code is executed.
155 int indexForEndOfSelection = indexForVisiblePosition(endOfSelection);
157 if (endOfSelection.isNull() || endOfSelection.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
164 endOfSelection = lastSelectionRange->startPosition();
165 startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundar
[all...]
H A DApplyBlockElementCommand.cpp79 VisiblePosition endOfSelection = selection.visibleEnd(); local
81 ASSERT(!endOfSelection.isNull());
83 int endIndex = indexForVisiblePosition(endOfSelection);
85 formatSelection(startOfSelection, endOfSelection);
95 void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
111 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next());
112 m_endOfLastParagraph = endOfParagraph(endOfSelection).deepEquivalent();
H A Dhtmlediting.cpp1019 VisiblePosition endOfSelection(newSelection.visibleEnd());
1025 if (Node* table = isFirstPositionAfterTable(endOfSelection))
1027 newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBoundary));
1034 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
1035 newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection);
H A DEditor.cpp2385 VisiblePosition endOfSelection = frame()->selection()->selection().end(); local
2392 VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary);
2393 VisiblePosition endOfLastWord = endOfWord(endOfSelection, RightWordIfOnBoundary);
2401 startOfLastWord = startOfWord(endOfSelection, LeftWordIfOnBoundary);
2402 endOfLastWord = endOfWord(endOfSelection, LeftWordIfOnBoundary);
2410 if (startOfFirstWord == endOfSelection)
2416 if (doNotRemoveIfSelectionAtWordBoundary && startOfLastWord == endOfSelection) {

Completed in 94 milliseconds