My favorite Notepad replacement is the very elegant, open source Notepad++. It is now in version 4.1.2. Just got the update today, but the last version was great! Notepad++ will pretty-print in many programming languages: Some may find that it suits all there source file editing needs. It'll even run command-line commands and launch other applications with the files being worked on.
I love! Hope you do too.