syncped is a SYNChronizing Portable EDitor supporting more than 100 programming languages, is available under Windows, Linux and OSX, has a vi compatibility mode, and can be configured to work with most version control systems.
Highlight is a source code to formatted text converter. It generates HTML, XHTML, RTF, ODT, LaTeX, TeX, SVG, BBCode and terminal escape sequences with coloured syntax highlighting. Language definitions and colour themes are Lua scripts and support plugins