Searched refs:endOfSelection (Results 1 - 9 of 9) sorted by relevance
/external/webkit/Source/WebCore/editing/ |
H A D | FormatBlockCommand.h | 49 void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection); 50 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
|
H A D | ApplyBlockElementCommand.h | 43 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 D | IndentOutdentCommand.h | 55 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 D | FormatBlockCommand.cpp | 53 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 D | IndentOutdentCommand.cpp | 183 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 D | InsertListCommand.cpp | 132 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 D | ApplyBlockElementCommand.cpp | 79 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 D | htmlediting.cpp | 1019 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 D | Editor.cpp | 2385 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 183 milliseconds