public UndoCommand(Application app, Editor editor) : base(app, editor) { }
public override bool Execute() { SaveBackup(); Editor.ReplaceSelection(App.Clipboard); return(true); }
public PasteCommand(Application app, Editor editor) : base(app, editor) { }
public override bool Execute() { App.Clipboard = Editor.GetSelection(); return(false); }
public CopyCommand(Application app, Editor editor) : base(app, editor) { }
protected Command(Application app, Editor editor) { App = app; Editor = editor; }