jEdit is a text editor for programmers, available under the GNU General Public License version 2.0. It is written in Java and runs on any operating system with Java support, including Windows, Linux, Mac OS X, and BSD.
Features
jEdit includes syntax highlighting that provides native support for over 130 file formats. Support for additional formats can be added manually using XML files. It supports UTF-8 and many other encodings.
It has extensive code folding and text folding capabilities as well as text wrapping that takes indents into account.
The application is highly customizable and can be extended with macros written in BeanShell, Jython, JavaScript and some other scripting languages.