How to configure my favorite editor in ModelSim?
For those using the external_editor tcl script and get in trouble trying to restore functionality to ModelSim:

Open up regedit, go to: 

Computer\HKEY_CURRENT_USER\Software\Model Technology Incorporated\ModelSim


There you will find the PrefSource key. Delete the altEditor value, and that will fix your ModelSim issues.