OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:smartDelete
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
MoveSelectionCommand.h
37
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
);
DeleteSelectionCommand.h
37
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);
TypingCommand.h
56
SmartDelete
= 1 << 4
77
void deleteSelection(bool
smartDelete
);
93
bool
smartDelete
() const { return m_smartDelete; }
94
void setSmartDelete(bool
smartDelete
) { m_smartDelete =
smartDelete
; }
MoveSelectionCommand.cpp
34
MoveSelectionCommand::MoveSelectionCommand(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool
smartDelete
)
35
: CompositeEditCommand(*position.document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(
smartDelete
)
CompositeEditCommand.h
100
void deleteSelection(bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
101
void deleteSelection(const VisibleSelection&, bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
DeleteSelectionCommand.cpp
70
DeleteSelectionCommand::DeleteSelectionCommand(Document& document, bool
smartDelete
, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup)
73
, m_smartDelete(
smartDelete
)
88
DeleteSelectionCommand::DeleteSelectionCommand(const VisibleSelection& selection, bool
smartDelete
, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup)
91
, m_smartDelete(
smartDelete
)
[
all
...]
Editor.h
129
void deleteSelectionWithSmartDelete(bool
smartDelete
);
TypingCommand.cpp
82
, m_smartDelete(options &
SmartDelete
)
103
lastTypingCommand->deleteSelection(options &
SmartDelete
);
593
void TypingCommand::deleteSelection(bool
smartDelete
)
595
CompositeEditCommand::deleteSelection(
smartDelete
);
CompositeEditCommand.cpp
586
void CompositeEditCommand::deleteSelection(bool
smartDelete
, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup)
589
applyCommandToComposite(DeleteSelectionCommand::create(document(),
smartDelete
, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
592
void CompositeEditCommand::deleteSelection(const VisibleSelection &selection, bool
smartDelete
, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup)
595
applyCommandToComposite(DeleteSelectionCommand::create(selection,
smartDelete
, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
[
all
...]
Editor.cpp
301
TypingCommand::deleteKeyPressed(*m_frame.document(), canSmartCopyOrDelete() ? TypingCommand::
SmartDelete
: 0, granularity);
312
options |= TypingCommand::
SmartDelete
;
339
void Editor::deleteSelectionWithSmartDelete(bool
smartDelete
)
345
DeleteSelectionCommand::create(*m_frame.document(),
smartDelete
)->apply();
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/page/
DragController.cpp
505
bool
smartDelete
= innerFrame->editor().smartInsertDeleteEnabled();
506
bool smartInsert =
smartDelete
&& innerFrame->selection().granularity() == WordGranularity && dragData->canSmartReplace();
507
MoveSelectionCommand::create(fragment, dragCaret.base(), smartInsert,
smartDelete
)->apply();
[
all
...]
Completed in 33 milliseconds