jEdit is a text editor that has nice syntax highlighting and lets you do a good bit of stuff.
To run jEdit, type jedit from the shell (Linux terminal).
jedit