Smultron is a text editor written in Cocoa for Mac OS X 10.4 Tiger or later. It is designed to be easy and intuitive to start off with and to become more and more able as and when the user wants it. Some of its features are line numbers, support for syntax colouring for many different languages, functions list, support for text encodings, snippets, a toolbar, a status bar, HTML preview, split window, multi-document find and replace with regular expressions, possibility to show invisible characters, tabs, authenticated open and saves, command-line utility, .Mac synchronisation, full screen editing and running commands from within Smultron.
If you are looking for a free code/text editor but way lighter than Eclipse (I am not talking about serious programming/coding yet) and a little advanced than Textedit (comes along with OS X) and TextWrangler (free), then Smultron is the one. This comes with its own ActionScript Syntax File.
Some of the features are
- Snippets – You can set custom snippets and even assign key shortcuts to it; use the Fn with a key combination of your choice to assign your snippet shortcuts.