It is what I meant, I'm just not seeing the highlighting take effect. I better go back and take a closer look at the relevant bundle files.
Thanks.
On Fri, 8 Oct 2004 17:46:01 -0500, Brian Lalor blalor@bravo5.org wrote:
On Oct 7, 2004, at 6:38 PM, bongoman wrote:
Is it open to me to set HTML attributes to have a different color to the tag itself?
I think the HTML syntax highlighting already does that...
I've got the following in my XML.plist, which is copied in large part from HTML.plist: /* nodes */ { name = "nodes"; begin = "</?([-_a-zA-Z0-9]+)"; end = "(/?)>"; "elementFontStyle[1]" = ( underline );
foregroundColor = "#0066CC"; patterns = ( { name = "Option"; match = "
([a-zA-Z-]+)"; }, { name = "Double Quoted String"; begin = """; end = """; foregroundColor = "#CC3300";}, { name = "Single Quoted String"; begin = "'"; end = "'"; fontStyle = ( ); foregroundColor = "#CC3300"; }, ); },
That sets the tag to one color, keys to another, and values to a third.
Or was that not what you wanted?
-- __ ____ / / / __/ Brian Lalor / _ /__ \ blalor@bravo5.org /_.__/____/ http://bravo5.org/ _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate