I used JEdit - based on java, quite good. For smaller projects is JEdit quite enough. Lately I started using Eclipse - based on java again, more sophisticated than JEdit. It has a slightly different "work style" - you work with files in your workspace and when you are done you publish them. It also has some features that are really useful when working in groups such as CVS.

And if none of these two editors matches to your needs try PSPad. It's also good editor.