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).
--Matt
> -----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
>=20
> 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.
>=20
> 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.
>=20
> Which command will help me color the attribs differently?
>=20
> For instance:
>=20
> [form name=3D"XYZform" action=3D"index.cfm"]
>=20
> (using brackets instead of gt and lt so I won't get weird display.
>=20
> 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.
>=20
> 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.
>=20
> Can somone help point me in the right direction?
>=20
|