Searched refs:smartDelete (Results 1 - 11 of 11) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DMoveSelectionCommand.h37 static PassRefPtr<MoveSelectionCommand> create(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
39 return adoptRef(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
43 MoveSelectionCommand(PassRefPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
H A DDeleteSelectionCommand.h37 static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
39 return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
43 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
47 DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool santizeMarkup);
48 DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup);
H A DTypingCommand.h77 void deleteSelection(bool smartDelete);
93 bool smartDelete() const { return m_smartDelete; } function in class:WebCore::TypingCommand
94 void setSmartDelete(bool smartDelete) { m_smartDelete = smartDelete; } argument
H A DMoveSelectionCommand.cpp34 MoveSelectionCommand::MoveSelectionCommand(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool smartDelete) argument
35 : CompositeEditCommand(position.anchorNode()->document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete)
H A DCompositeEditCommand.h104 void deleteSelection(bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
105 void deleteSelection(const VisibleSelection&, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
H A DDeleteSelectionCommand.cpp72 DeleteSelectionCommand::DeleteSelectionCommand(Document *document, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
75 , m_smartDelete(smartDelete)
90 DeleteSelectionCommand::DeleteSelectionCommand(const VisibleSelection& selection, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
93 , m_smartDelete(smartDelete)
H A DTypingCommand.cpp618 void TypingCommand::deleteSelection(bool smartDelete) argument
620 CompositeEditCommand::deleteSelection(smartDelete);
H A DCompositeEditCommand.cpp582 void CompositeEditCommand::deleteSelection(bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
585 applyCommandToComposite(DeleteSelectionCommand::create(document(), smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
588 void CompositeEditCommand::deleteSelection(const VisibleSelection &selection, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
591 applyCommandToComposite(DeleteSelectionCommand::create(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
H A DEditor.h172 void deleteSelectionWithSmartDelete(bool smartDelete);
H A DEditor.cpp396 void Editor::deleteSelectionWithSmartDelete(bool smartDelete) argument
401 applyCommand(DeleteSelectionCommand::create(m_frame->document(), smartDelete));
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DDragController.cpp521 bool smartDelete = innerFrame->editor().smartInsertDeleteEnabled(); local
522 bool smartInsert = smartDelete && innerFrame->selection()->granularity() == WordGranularity && dragData->canSmartReplace();
523 applyCommand(MoveSelectionCommand::create(fragment, dragCaret.base(), smartInsert, smartDelete));

Completed in 175 milliseconds