public CutCommand(Document document) { this.document = document; previousText = this.document.Text; }
public UnderlineCommand(Document document) { this.document = document; previousText = this.document.Text; }
public CopyCommand(Document document) { this.document = document; }
public ItalicizeCommand(Document document) { this.document = document; previousText = this.document.Text; }