toggle text editor cmd selection