The syntax highlighting is done with regular expressions. There's an Oreilly book on the subject, or the java.util.regex.Pattern Javadoc page has a reasonably good introduction to the subject. It's at
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
Ian.
On Oct 8, 2004, at 01:05, timothy martens wrote:
On Oct 7, 2004, at 1:55 PM, Allan Odgaard wrote:
But style sheets a la CSS with selectors would probably be pretty flexible. Initially we postponed this, because we figured it would come off as too complex. But given the proper GUI editor, it'll probably appear as a huge simplification for most ;)
INDEED. All these syntax highlighting examples (wat language are they in) are like Greek to me. _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate
#ifndef __COMMON_SENSE__ | Ian Phillips #include <std_disclaimer> | http://ianp.org #endif