On 6. Oct 2004, at 16:13, Brian Lalor wrote:
patterns = ( include = "Java"; );
Actually, I think you meant patterns = ( { include = "Java"; } );
Blush! :)
I'm still not getting the foreground coloring like I expected. Just my plain old java mode has some keyword highlighting, but not when embedded in HTML.
The include key only include the patterns. So you'll have to set the foreground for the rule. So that'd be (hopefully I get it right this time ;) ):
{ name = "Embedded Java"; begin = "<%"; end = "%>"; background = "#E5E5E5"; foreground = "#rrggbb"; patterns = ( { include = "Java"; } ); }
Kind regards Allan