public void Execute() { IParagraph paragraph = _documentItem.Paragraph; _previousText = paragraph.GetText(); paragraph.SetText(_newText); }
public void Unexecute() { IParagraph paragraph = _documentItem.Paragraph; paragraph.SetText(_previousText); }
public void Execute() { IParagraph paragraph = _documentItem.Paragraph; _previousText = paragraph.GetText(); paragraph.SetText(_newText); }
public void Unexecute() { IParagraph paragraph = _documentItem.Paragraph; paragraph.SetText(_previousText); }