/external/webkit/Source/WebCore/editing/ |
D | TypingCommand.cpp | 144 if (currentSelection == typingCommand->endingSelection()) in updateSelectionIfDifferentFromCurrentSelection() 194 if (lastTypingCommand->endingSelection() != selectionForInsertion) { in insertText() 283 if (!endingSelection().isNonOrphanedCaretOrRange()) in doApply() 339 VisiblePosition start(endingSelection().start(), endingSelection().affinity()); in markMisspellingsAfterTyping() 349 …document()->frame()->editor()->markMisspellingsAfterTypingToWord(p1, endingSelection(), !strippedP… in markMisspellingsAfterTyping() 407 if (endingSelection() != command->endingSelection()) { in insertTextRunWithoutNewlines() 408 command->setStartingSelection(endingSelection()); in insertTextRunWithoutNewlines() 409 command->setEndingSelection(endingSelection()); in insertTextRunWithoutNewlines() 418 if (!canAppendNewLineFeed(endingSelection())) in insertLineBreak() 427 if (!canAppendNewLineFeed(endingSelection())) in insertParagraphSeparator() [all …]
|
D | InsertTextCommand.cpp | 74 if (!endingSelection().isRange()) in performTrivialReplace() 80 Position start = endingSelection().start().parentAnchoredEquivalent(); in performTrivialReplace() 81 Position end = endingSelection().end().parentAnchoredEquivalent(); in performTrivialReplace() 100 setEndingSelection(VisibleSelection(endingSelection().visibleEnd())); in performTrivialReplace() 110 if (!endingSelection().isNonOrphanedCaretOrRange()) in input() 115 if (endingSelection().isRange()) { in input() 121 Position startPosition(endingSelection().start()); in input() 202 setEndingSelection(VisibleSelection(endingSelection().end(), endingSelection().affinity())); in input()
|
D | InsertListCommand.cpp | 108 if (!endingSelection().isNonOrphanedCaretOrRange()) in doApply() 111 if (!endingSelection().rootEditableElement()) in doApply() 114 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() 115 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() 128 if (endingSelection().isRange()) { in doApply() 129 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); in doApply() 138 RefPtr<Range> currentSelection = endingSelection().firstRange(); in doApply() 173 startOfSelection = endingSelection().visibleStart(); in doApply() 175 startOfCurrentParagraph = startOfNextParagraph(endingSelection().visibleStart()); in doApply() 180 endOfSelection = endingSelection().visibleEnd(); in doApply() [all …]
|
D | MoveSelectionCommand.cpp | 42 ASSERT(endingSelection().isNonOrphanedRange()); in doApply() 49 Position selectionEnd = endingSelection().end(); in doApply() 54 Position selectionStart = endingSelection().start(); in doApply() 66 pos = endingSelection().start(); in doApply() 68 setEndingSelection(VisibleSelection(pos, endingSelection().affinity())); in doApply()
|
D | BreakBlockquoteCommand.cpp | 47 if (endingSelection().isNone()) in doApply() 51 if (endingSelection().isRange()) in doApply() 57 ASSERT(!endingSelection().isNone()); in doApply() 59 if (endingSelection().isNone()) in doApply() 62 VisiblePosition visiblePos = endingSelection().visibleStart(); in doApply() 66 Position pos = endingSelection().start().downstream(); in doApply()
|
D | CreateLinkCommand.cpp | 43 if (endingSelection().isNone()) in doApply() 49 if (endingSelection().isRange()) in doApply() 52 insertNodeAt(anchorElement.get(), endingSelection().start()); in doApply()
|
D | InsertParagraphSeparatorCommand.cpp | 101 m_style->prepareToApplyAt(endingSelection().start()); in applyStyleAfterInsertion() 112 if (!isEndOfBlock(endingSelection().visibleStart())) in shouldUseDefaultParagraphElement() 149 if (!endingSelection().isNonOrphanedCaretOrRange()) in doApply() 152 Position insertionPosition = endingSelection().start(); in doApply() 154 EAffinity affinity = endingSelection().affinity(); in doApply() 157 if (endingSelection().isRange()) { in doApply() 160 insertionPosition = endingSelection().start(); in doApply() 161 affinity = endingSelection().affinity(); in doApply()
|
D | CompositeEditCommand.cpp | 304 …:create(document(), firstPositionInNode(document()->documentElement()), endingSelection().start()); in inputText() 373 if (endingSelection().isRange()) in deleteSelection() 511 VisibleSelection selection = endingSelection(); in rebalanceWhitespace() 835 VisiblePosition caretAfterDelete = endingSelection().visibleStart(); in cleanupAfterDeletion() 925 if (preserveSelection && !endingSelection().isNone()) { in moveParagraphs() 926 VisiblePosition visibleStart = endingSelection().visibleStart(); in moveParagraphs() 927 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in moveParagraphs() 984 document()->frame()->editor()->clearMisspellingsAndBadGrammar(endingSelection()); in moveParagraphs() 1011 ASSERT(endingSelection().isCaretOrRange()); in moveParagraphs() 1017 document()->frame()->editor()->markMisspellingsAndBadGrammar(endingSelection()); in moveParagraphs() [all …]
|
D | ApplyBlockElementCommand.cpp | 58 if (!endingSelection().isNonOrphanedCaretOrRange()) in doApply() 61 if (!endingSelection().rootEditableElement()) in doApply() 64 VisiblePosition visibleEnd = endingSelection().visibleEnd(); in doApply() 65 VisiblePosition visibleStart = endingSelection().visibleStart(); in doApply() 77 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); in doApply()
|
D | ReplaceSelectionCommand.cpp | 757 … m_firstNodeInserted = endingSelection().visibleStart().deepEquivalent().deprecatedNode(); in mergeEndIfNeeded() 810 VisibleSelection selection = endingSelection(); in doApply() 860 visibleStart = endingSelection().visibleStart(); in doApply() 868 insertionPos = endingSelection().start(); in doApply() 885 setEndingSelection(endingSelection().visibleStart().previous()); in doApply() 887 insertionPos = endingSelection().start(); in doApply() 896 Node* br = endingSelection().start().deprecatedNode(); in doApply() 1079 …m_firstNodeInserted = endingSelection().visibleStart().deepEquivalent().downstream().deprecatedNod… in doApply() 1081 … m_lastLeafInserted = endingSelection().visibleEnd().deepEquivalent().upstream().deprecatedNode(); in doApply() 1104 lastPositionToSelect = endingSelection().visibleStart().deepEquivalent(); in doApply() [all …]
|
D | IndentOutdentCommand.cpp | 119 VisiblePosition visibleStartOfParagraph = startOfParagraph(endingSelection().visibleStart()); in outdentParagraph() 192 Position originalSelectionEnd = endingSelection().end(); in outdentRegion() 212 endOfCurrentParagraph = endingSelection().end(); in outdentRegion()
|
D | InsertLineBreakCommand.cpp | 91 VisibleSelection selection = endingSelection(); in doApply() 181 setEndingSelection(endingSelection().visibleEnd()); in doApply()
|
D | UnlinkCommand.cpp | 41 if (!endingSelection().isNonOrphanedRange()) in doApply()
|
D | ModifySelectionListLevel.cpp | 175 if (!canIncreaseListLevel(endingSelection(), startListChild, endListChild)) in doApply() 258 if (!canDecreaseListLevel(endingSelection(), startListChild, endListChild)) in doApply()
|
D | EditCommand.h | 50 const VisibleSelection& endingSelection() const { return m_endingSelection; } in endingSelection() function
|
D | DeleteSelectionCommand.cpp | 216 && endingSelection().isRange()) { in initializePositionData() 652 m_endingPosition = endingSelection().start(); in mergeParagraphs() 725 m_endingPosition = endingSelection().start(); in calculateTypingStyleAfterDelete() 752 m_selectionToDelete = endingSelection(); in doApply()
|
D | ApplyStyleCommand.cpp | 126 , m_start(endingSelection().start().downstream()) in ApplyStyleCommand() 127 , m_end(endingSelection().end().upstream()) in ApplyStyleCommand() 154 , m_start(endingSelection().start().downstream()) in ApplyStyleCommand() 155 , m_end(endingSelection().end().upstream()) in ApplyStyleCommand() 168 , m_start(endingSelection().start().downstream()) in ApplyStyleCommand() 169 , m_end(endingSelection().end().upstream()) in ApplyStyleCommand() 192 return endingSelection().start(); in startPosition() 200 return endingSelection().end(); in endPosition()
|
D | EditCommand.cpp | 65 if (!endingSelection().isContentRichlyEditable()) { in apply()
|
D | Editor.h | 134 void respondToChangedContents(const VisibleSelection& endingSelection);
|
D | Editor.cpp | 500 void Editor::respondToChangedContents(const VisibleSelection& endingSelection) in respondToChangedContents() argument 503 Node* node = endingSelection.start().deprecatedNode(); in respondToChangedContents() 993 VisibleSelection newSelection(cmd->endingSelection()); in appliedEditing() 1037 VisibleSelection newSelection(cmd->endingSelection()); in reappliedEditing()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2005-08-23 | 47322 startingSelection and endingSelection, making them work more sensibly in the 47329 and endingSelection for the command being applied to the endingSelection of 47332 to endingSelection. 47335 to endingSelection. 47337 to endingSelection. 47343 (TypingCommandImpl::insertText): Remove extraneous call to reset endingSelection. This has 47346 to endingSelection. 47347 … (TypingCommandImpl::deleteKeyPressed): Remove extraneous call to reset endingSelection. This has 47350 …(khtml::EditCommandImpl::endingSelection): Remove extraneous call to reset endingSelection. This h…
|
D | ChangeLog-2006-05-10 | 7494 replace operation is applied, because endingSelection isn't the 7495 endingSelection of the last operation when the replace operation 30955 (WebCore::EditCommandPtr::endingSelection): 30963 (WebCore::EditCommand::endingSelection):
|
D | ChangeLog-2006-12-31 | 13840 the selection to a more appropriate place. Change the endingSelection 35376 … (WebCore::Frame::reappliedEditing): Restore the endingSelection(), not the startingSelection(). 41828 the endingSelection is at the start of an editable region.
|
D | ChangeLog-2008-08-10 | 14813 endingSelection() at [movedPlaceholder, 0] if it does so. Re-fetch insertedPlaceholder 15252 about the incorrect endingSelection()s. 41828 the old endingSelection(), so we must recompute it. Added a FIXME. Added a few comments. 75495 the command's endingSelection and sets it as selection.
|
D | ChangeLog-2009-06-16 | 15850 …ingCommand creates the selection to delete but it doesn't change the endingSelection. So we can t… 40354 (WebCore::EditCommand::endingSelection): 73723 … Don't store the endingSelection() in selection, just call endingSelection() in the few places it's
|