Beispiel #1
0
void applyCommand(PassRefPtr<EditCommand> command)
{
    DeleteButtonController *deleteButtonController = command->document()->frame()->editor()->deleteButtonController();
    deleteButtonController->disable();
    command->apply();
    deleteButtonController->enable();
}
Beispiel #2
0
void applyCommand(PassRefPtr<EditCommand> command)
{
    command->apply();
}