2009-02-16

Mac Text Editors

I need a text editor that will print syntax highlighted Java code with line numbers.

  • Smultron doesn’t print line numbers.
  • TextWrangler doesn’t syntax highlight Java code.
  • BBEdit doesn’t syntax highlight Java code.
  • XCode doesn’t print line numbers.
  • Editra doesn’t print (it just prints the filename and the right-hand margin, leaving the actual text out).
  • TextMate doesn’t print line numbers.
  • NetBeans prints both line numbers and highlighted text, in a terrible way; printing to HTML results in print output surrounded by an inexplicable black box.
  • Aquamacs Emacs - an astonishing 115MB for a text editor even though it hasn’t got a real UI; view line numbers option doesn’t appear to work.

Why isn’t there a Mac text editor that will print properly?