public override void Undo() { _target.Remove(_oldLength); }
// ======================================== // method // ======================================== public override void Execute() { _removedString = _target.Text.Substring(_index, _length); _target.Remove(_index, _length); }
public override void Undo() { _target.Remove(_index, _string.Length); }