get()->reapply();
}
+HTMLEditAction EditCommandPtr::editingAction() const
+{
+ IF_IMPL_NULL_RETURN_ARG(HTMLEditActionUnspecified);
+ return get()->editingAction();
+}
+
DocumentImpl * const EditCommandPtr::document() const
{
IF_IMPL_NULL_RETURN_ARG(0);
doApply();
}
+HTMLEditAction EditCommand::editingAction() const
+{
+ return HTMLEditActionUnspecified;
+}
+
void EditCommand::setStartingSelection(const Selection &s)
{
for (EditCommand *cmd = this; cmd; cmd = cmd->m_parent)
ASSERT_NOT_REACHED();
}
+HTMLEditAction TypingCommand::editingAction() const
+{
+ return HTMLEditActionTyping;
+}
+
void TypingCommand::markMisspellingsAfterTyping()
{
// Take a look at the selection that results after typing and determine whether we need to spellcheck.