I use BBEdit (which I get for free through work) otherwise I would be content with TextWrangler. I like it's speed, clippings, and AppleScript integration. I've developed some scripts that really speed up my coding. Also BBEdit has SVN integration and can run scripts (Perl, Bash, etc.) right from the GUI. It has been around for a very long time and so has the refinement of a great app.