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