The question has been closed for the following reason "Duplicate Question http://lockergnome.net/questions/179312/best-text-editor-for-mac-os-x" by JordanV Mar 01 '12 at 18:53
I would recommend 'TextWrangler'. It's a good multi-language editor with everything that you would expect from a text editor for programming, with full syntax highlighting, etc.
It's a free download through the Mac App Store.
answered Feb 29 '12 at 12:25