In windows:
http://www.crimsoneditor.com/
I found it mostly because its 1) free, and 2) code colouring can be setup for any filetype, as it have it setup to do colouring of SSA/ASS files as well as all the other common programming languages.
If I'm SSHed in, its pico. I'm too dumb to learn vi, or vim.