public override void Redo() { Base.Ui.View.Selection.Select(Path, true, false); SubtitleEditTextView textView = GetTextView(); textView.InsertText(index, text); PostProcess(); }
public override void Undo() { Base.Ui.View.Selection.Select(Path, true, false); SubtitleEditTextView textView = GetTextView(); textView.DeleteText(index, index + text.Length); PostProcess(); }