コード例 #1
0
 public UndoCommand(Application app, Editor editor) : base(app, editor)
 {
 }
コード例 #2
0
 public override bool Execute()
 {
     SaveBackup();
     Editor.ReplaceSelection(App.Clipboard);
     return(true);
 }
コード例 #3
0
 public PasteCommand(Application app, Editor editor) : base(app, editor)
 {
 }
コード例 #4
0
 public override bool Execute()
 {
     App.Clipboard = Editor.GetSelection();
     return(false);
 }
コード例 #5
0
 public CopyCommand(Application app, Editor editor) : base(app, editor)
 {
 }
コード例 #6
0
 protected Command(Application app, Editor editor)
 {
     App    = app;
     Editor = editor;
 }