コード例 #1
0
        public override void Redo()
        {
            Base.Ui.View.Selection.Select(Path, true, false);
            SubtitleEditTextView textView = GetTextView();

            textView.InsertText(index, text);
            PostProcess();
        }
コード例 #2
0
        public override void Undo()
        {
            Base.Ui.View.Selection.Select(Path, true, false);
            SubtitleEditTextView textView = GetTextView();

            textView.DeleteText(index, index + text.Length);
            PostProcess();
        }