I tend to write in multiple environments, and I didn't want separate apps for each. I looked for something I could use that would provide me more flexibility than Notepad, but didn't have a huge footprint on my system resources. I tried EMACS, which I did use for a while, but I found I had to think too much

. I finally settled on a product called EditPlus2. It is similar to Notepad, but had additional functionality that I use often. For example, it has a pretty darn good find-replace feature, as well the ability to utilize pre-defined templates for multiple languages or define your own. One of the coolest features is the ability to record macros. It's cheap too!
Check it out: at
http://www.editplus.com/.
And no, I am not affiliated with these guys in anyway. Just think its a cool product!