UnityEngine.TextEditor.Undo C# (CSharp) Method

Undo() public method

public Undo ( ) : void
return void
        public void Undo()
        {
            this.m_Content.text = this.oldText;
            this.cursorIndex = this.oldPos;
            this.selectIndex = this.oldSelectPos;
        }