Change DEFAULT EDITOR

How do i do this?

From the main menu: Tools -> Settings, General, File Viewer / Editor.

I dont have file viewer under general settings

Then you're probably still using SmartFTP 1.x which is not supported anymore. Please switch to 2.x.