Without further ado, I’d like to present TEA 1.0b14. This release offers numerous bug fixes and improvements to existing functionality, as well as adding easy-to-use TEA preferences for controlling some of the aspects of the Sugar.
New Features
- Full preference window. No more will you have to wonder whether you’ve got custom user actions enabled or not! Just open up Actions->TEA->Preferences… to see for yourself. You can also adjust whether you’d like snippets to default to HTML or XHTML and add custom shell variables for use in third-party scripts.
Improvements
- Insert Tag From Word has been merged into Expand Abbreviation to reduce unnecessary complexity. You can still type a tag name with attributes, select it, and run it through Expand Abbreviation to have it translated into a tag (like the old Insert Tag From Word functionality), but now zen’s large library of snippets and shortcuts is always on hand. Whoopee!
- Wrap Selection In Tag will now function even if no text is selected (as it does in Textmate).
Bug fixes
- Fixed rare bug that could occur when trying to access actions before the document context was fully initialized
- Fixed tabs to spaces/etc. problems when working with non-unix line endings
Known issues
I decided to send beta 14 live even though there are some known issues because I wanted people to test the new preferences window and I’m unlikely to be able to work on TEA more this weekend. Here’s the stuff I know needs fixing:
- XHTML preferences currently have very little affect (mainly because they don’t affect zen coding stuff). Before 1.0 is released, zen coding will respect the XHTML preferences and TEA will attempt to determine if a document is HTML or XHTML (only falling back to the default in the preferences if it can’t determine what it’s working with).
- When you add a new variable to the custom shell variables, the new row currently isn’t automatically selected.
- The example text for the XHTML self-closing string currently doesn’t refresh when the field is empty.
Let me know if you have any feedback, find any bugs, or have any requests!