A cool TextMate feature…

I've been testing out the editor recently, mainly for writing up blog posts and editing the XHTML and PHP pages that make up this blog. I noticed something today, which is really, really cool:

TextMate Screenshot

It may be a little hard to see (click on the image link for a better view), but there's one character in the screenshot that has been highlighted with a red background. That just happens to be an ampersand (&) sign that is part of a URL I pasted into the editor. TextMate has picked up on that (knowing that unescaped ampersands will cause problems in validation of the page), and highlighted it. As soon as you replace it with a "&", the highlighting disappears. Cool!

blog comments powered by Disqus