My favorite editor is UltraEdit. It's great for programming in Perl, Java, C/C++, PHP, SQL... pretty much every language I've ever tried using it for. It has built-in dictionaries and does command word high-lighting based on the file extension of the file being edited. I don't know though how many platforms it's available on, I use it in Windows and FTP the files when doing Unix/Linux development, and use vi for small changes directly on the server.
UltraEdit is available for download at www.ultraedit.com
with a free 45-day trial, then it shuts down and you have to register it. Registering is fairly cheap, though, and goes directly to the programmer who wrote it in his spare time.