public override DoOrUndo AppendTextAction(string text) { if (string.IsNullOrEmpty(text)) return null; return @do => { if (@do) Text += text; else Text = Text.Left(Text.Length - text.Length); }; }