The XSL mode file does something similar to what you want. From the
comments at the top of that mode file, it looks like that author used
the keyword feature of jEdit (4 diff keyword color groups).
> -----Original Message-----
> From: jedit-users-bounces@...
> [mailto:jedit-users-bounces@...] On Behalf=20
> Of Jolly Green Giant
> Sent: Friday, September 22, 2006 10:28 AM
> To: jedit-users@...
> Subject: [ jEdit-users ] Syntax Coloring Mods
> I would like to color html attribute keys a different color=20
> than the tag names themselves. I'm actually going to be=20
> hoping this comes across to my coldfusion coloring, and I=20
> think the right way to do that is change the html.xml and=20
> then it will automatically render properly in the coldFusion=20
> coloring because of delegation.
> I"ve been using jEdit for about a year, and have done small=20
> mods to the edit modes. I've also read through all the edit=20
> mode documentation in the help.
> Which command will help me color the attribs differently?
> For instance:
> [form name=3D"XYZform" action=3D"index.cfm"]
> (using brackets instead of gt and lt so I won't get weird display.
> Right now, "form", "name", and "action" are the same color. I=20
> want "form" to remain as it is, and "name" and "action" to be=20
> caught by a rule in the colorer.
> None of the current methods of matching look like they would work.
> Though I'm sure something will, I'm just not used to the way=20
> the edit modes think.
> Can somone help point me in the right direction?