Example #1
0
 public void SetText(string text)
 {
     _history.AddAndExecuteCommand(new ReplaceTextCommand(_text, text));
 }
Example #2
0
 public void DeleteItem(int index)
 {
     _history.AddAndExecuteCommand(new DeleteItemCommand(_items, index));
 }