How to change the default text editor and disable text editors