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

/macosx-10.10/WebCore-7600.1.25/editing/
H A DMoveSelectionCommand.cpp30 #include "ReplaceSelectionCommand.h"
67 // Fixes: <rdar://problem/3910425> REGRESSION (Mail): Crash in ReplaceSelectionCommand;
79 ReplaceSelectionCommand::CommandOptions options = ReplaceSelectionCommand::SelectReplacement | ReplaceSelectionCommand::PreventNesting;
81 options |= ReplaceSelectionCommand::SmartReplace;
82 applyCommandToComposite(ReplaceSelectionCommand::create(document(), m_fragment, options));
H A DReplaceSelectionCommand.h37 class ReplaceSelectionCommand : public CompositeEditCommand { class in namespace:WebCore
51 static PassRefPtr<ReplaceSelectionCommand> create(Document& document, PassRefPtr<DocumentFragment> fragment, CommandOptions options, EditAction action = EditActionPaste)
53 return adoptRef(new ReplaceSelectionCommand(document, fragment, options, action));
57 ReplaceSelectionCommand(Document&, PassRefPtr<DocumentFragment>, CommandOptions, EditAction);
H A DSpellingCorrectionCommand.cpp34 #include "ReplaceSelectionCommand.h"
113 applyCommandToComposite(ReplaceSelectionCommand::create(document(), fragment.release(), ReplaceSelectionCommand::MatchStyle, EditActionPaste));
H A DReplaceSelectionCommand.cpp28 #include "ReplaceSelectionCommand.h"
332 inline void ReplaceSelectionCommand::InsertedNodes::respondToNodeInsertion(Node* node)
343 inline void ReplaceSelectionCommand::InsertedNodes::willRemoveNodePreservingChildren(Node* node)
351 inline void ReplaceSelectionCommand::InsertedNodes::willRemoveNode(Node* node)
362 inline void ReplaceSelectionCommand::InsertedNodes::didReplaceNode(Node* node, Node* newNode)
370 ReplaceSelectionCommand::ReplaceSelectionCommand(Document& document, PassRefPtr<DocumentFragment> fragment, CommandOptions options, EditAction editAction) function in class:WebCore::ReplaceSelectionCommand
393 bool ReplaceSelectionCommand::shouldMergeStart(bool selectionStartWasStartOfParagraph, bool fragmentHasInterchangeNewlineAtStart, bool selectionStartWasInsideMailBlockquote)
418 bool ReplaceSelectionCommand::shouldMergeEnd(bool selectionEndWasEndOfParagraph)
454 bool ReplaceSelectionCommand
[all...]
H A DEditingAllInOne.cpp65 #include <ReplaceSelectionCommand.cpp>
H A DCompositeEditCommand.cpp56 #include "ReplaceSelectionCommand.h"
1311 ReplaceSelectionCommand::CommandOptions options = ReplaceSelectionCommand::SelectReplacement | ReplaceSelectionCommand::MovingParagraph;
1313 options |= ReplaceSelectionCommand::MatchStyle;
1314 applyCommandToComposite(ReplaceSelectionCommand::create(document(), fragment, options));
H A DEditor.cpp74 #include "ReplaceSelectionCommand.h"
606 ReplaceSelectionCommand::CommandOptions options = ReplaceSelectionCommand::PreventNesting | ReplaceSelectionCommand::SanitizeFragment;
608 options |= ReplaceSelectionCommand::SelectReplacement;
610 options |= ReplaceSelectionCommand::SmartReplace;
612 options |= ReplaceSelectionCommand::MatchStyle;
614 options |= ReplaceSelectionCommand::IgnoreMailBlockquote;
616 applyCommand(ReplaceSelectionCommand::create(document(), fragment, options, EditActionPaste));
684 // (even if it is only temporary). ReplaceSelectionCommand does
[all...]
H A DEditorCommand.cpp53 #include "ReplaceSelectionCommand.h"
195 applyCommand(ReplaceSelectionCommand::create(*frame.document(), fragment, ReplaceSelectionCommand::PreventNesting, EditActionUnspecified));
/macosx-10.10/WebCore-7600.1.25/page/
H A DDragController.cpp70 #include "ReplaceSelectionCommand.h"
511 ReplaceSelectionCommand::CommandOptions options = ReplaceSelectionCommand::SelectReplacement | ReplaceSelectionCommand::PreventNesting;
513 options |= ReplaceSelectionCommand::SmartReplace;
515 options |= ReplaceSelectionCommand::MatchStyle;
516 applyCommand(ReplaceSelectionCommand::create(*m_documentUnderMouse, fragment, options));
527 applyCommand(ReplaceSelectionCommand::create(*m_documentUnderMouse, createFragmentFromText(*range, text), ReplaceSelectionCommand::SelectReplacement | ReplaceSelectionCommand
[all...]
H A DContextMenuController.cpp64 #include "ReplaceSelectionCommand.h"
373 ReplaceSelectionCommand::CommandOptions replaceOptions = ReplaceSelectionCommand::MatchStyle | ReplaceSelectionCommand::PreventNesting;
382 replaceOptions |= ReplaceSelectionCommand::SelectReplacement;
387 RefPtr<ReplaceSelectionCommand> command = ReplaceSelectionCommand::create(*document, createFragmentFromMarkup(*document, item->title(), ""), replaceOptions);

Completed in 211 milliseconds