[ AutoHotKey @ wikipedia ]
you can find different editors for ahk

The advantages
•you can test run the script via a button
•there is no risk to save the script as a .txt file

if you install ahk you will find ~8 editors i.e. emacs vim +..  in the  AutoHotkey\Extras\Editors folder

you can create with ahk your own editor
view + modify → ahkPAD