jEdit is a powerful freeware text editor. However, it takes a little setup to get working properly.
The files that PCGen has to support this program are here