Beta 4 highlights
As previously mentioned I’ll try to showcase one or two features with each new (beta) release. This time my favorite addition is the ability to show command output as HTML. As with a lot in TextMate, don’t let the apparent simplicity fool you.
With the addition of the txmt://
custom URL scheme it is possible to have an HTML page link to a file/line/column in TextMate, and together with having the output shown as HTML, we can for example use curl
to post the current buffer to W3C’s validating service and pipe the result through Perl, to have the supplied line/column information rewritten as txmt://
anchors that take us to the erroneous line (all without leaving TextMate).
The same can be done for LaTeX compile errors, but here we can take it a step further by downloading Schubert’s PDF Browser Plugin. This allows us to view PDF in our browser, and so, we do the normal thing for compile errors, but if there are no errors, we simple redirect the embedded browser to the PDF file. I have recorded a small movie which shows this in action.
Other than this, beta 4 includes a dozen minor fixes/improvements including a much improved abbreviation matcher for the file chooser (I can reach most of my 200 sources with only two letters) and the “append to lines in selection” now allows you to go back on the line to make your insertions/deletes.
Finally I should mention that you can now complete (using escape or F5) in the Find / Find in Project text fields using words from the current document.