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

/macosx-10.10/WebCore-7600.1.25/editing/
H A DApplyBlockElementCommand.h44 virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
50 virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0;
H A DFormatBlockCommand.h56 void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
57 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
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 DInsertListCommand.cpp138 VisiblePosition endOfSelection = selection.visibleEnd(); local
139 VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary);
151 // the new location of endOfSelection and use it as the end of the new selection.
156 // Save and restore endOfSelection and startOfLastParagraph when necessary
159 // the beginning of the document to the endOfSelection everytime this code is executed.
162 int indexForEndOfSelection = indexForVisiblePosition(endOfSelection, scope);
164 if (endOfSelection.isNull() || endOfSelection.isOrphan() || startOfLastParagraph.isNull() || startOfLastParagraph.isOrphan()) {
165 endOfSelection = visiblePositionForIndex(indexForEndOfSelection, scope.get());
166 // If endOfSelection i
[all...]
H A DFormatBlockCommand.cpp55 void FormatBlockCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
59 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection);
63 void FormatBlockCommand::formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockNode) argument
69 RefPtr<Range> range = Range::create(document(), start, endOfSelection);
H A DIndentOutdentCommand.cpp188 void IndentOutdentCommand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
190 VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection);
199 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next());
224 void IndentOutdentCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
227 ApplyBlockElementCommand::formatSelection(startOfSelection, endOfSelection);
229 outdentRegion(startOfSelection, endOfSelection);
H A DApplyBlockElementCommand.cpp78 VisiblePosition endOfSelection = selection.visibleEnd(); local
80 ASSERT(!endOfSelection.isNull());
84 int endIndex = indexForVisiblePosition(endOfSelection, endScope);
86 formatSelection(startOfSelection, endOfSelection);
101 void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) argument
117 VisiblePosition endAfterSelection = endOfParagraph(endOfParagraph(endOfSelection).next());
118 m_endOfLastParagraph = endOfParagraph(endOfSelection).deepEquivalent();
H A DAlternativeTextController.cpp581 Position endOfSelection = command->endingSelection().end(); local
582 if (endOfSelection != m_positionForLastDeletedAutocorrection)
585 Position precedingCharacterPosition = endOfSelection.previous();
586 if (endOfSelection == precedingCharacterPosition)
589 RefPtr<Range> precedingCharacterRange = Range::create(*m_frame.document(), precedingCharacterPosition, endOfSelection);
H A Dhtmlediting.cpp1073 VisiblePosition endOfSelection(newSelection.visibleEnd());
1079 if (Node* table = isFirstPositionAfterTable(endOfSelection))
1081 newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBoundary));
1088 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
1089 newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection);
H A DEditor.cpp2720 VisiblePosition endOfSelection = m_frame.selection().selection().end(); local
2727 VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary);
2728 VisiblePosition endOfLastWord = endOfWord(endOfSelection, RightWordIfOnBoundary);
2736 startOfLastWord = startOfWord(endOfSelection, LeftWordIfOnBoundary);
2737 endOfLastWord = endOfWord(endOfSelection, LeftWordIfOnBoundary);
2745 if (startOfFirstWord == endOfSelection)
2751 if (doNotRemoveIfSelectionAtWordBoundary && startOfLastWord == endOfSelection) {

Completed in 199 milliseconds