execute method
Implementation
void execute(EditorCommand command) {
command.execute(this);
_undoStack.add(command);
_redoStack.clear();
notifyListeners();
}
void execute(EditorCommand command) {
command.execute(this);
_undoStack.add(command);
_redoStack.clear();
notifyListeners();
}