Searched refs:endOfSelection (Results 1 - 10 of 10) sorted by relevance
/macosx-10.10/WebCore-7600.1.25/editing/ |
H A D | ApplyBlockElementCommand.h | 44 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 D | FormatBlockCommand.h | 56 void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection); 57 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
|
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 | InsertListCommand.cpp | 138 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 D | FormatBlockCommand.cpp | 55 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 D | IndentOutdentCommand.cpp | 188 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 D | ApplyBlockElementCommand.cpp | 78 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 D | AlternativeTextController.cpp | 581 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 D | htmlediting.cpp | 1073 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 D | Editor.cpp | 2720 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