Text Editors are things people get religious about. If you want to start an argument among unix programmers, ask them which editor is best. When the smoke clears the only thing you can be sure of is that none of them will say Notepad.
For the sake of bragging, I spent several years using ed to write large programs. A while ago emacs and vi fought over mind-share with no quarter asked or given, but those days are (mostly) gone, killed off by the shift to windowing platforms. Now there are a huge number of editors available, all with their own capabilities, some better, some worse. Allow me to introduce you to the one I think is better than most. jEdit.