Syntax definition Files
Posted: Fri Jul 26, 2002 11:46 am
Hi,
I am using a content management system called Webgenz
I am currently trying to define a syntax file for the code.
What I need to happen is to highlight all areas where a [@ ... ] occurs.
The files also contain html code so I have based the syntax file on the standard HTML one.
At the moment I have used the alternate comment definition
eg
CommentStartAlt = [@
CommentEndAlt = ]
This works fine except where the macro is held with in a string.
eg
meta name="keywords" desc="[@keywords]"
does not highlight.
but
meta name="keywords" desc=[@keywords]
does
Does anyone have any bright ideas
Thanks in advance Jane.
I am using a content management system called Webgenz
I am currently trying to define a syntax file for the code.
What I need to happen is to highlight all areas where a [@ ... ] occurs.
The files also contain html code so I have based the syntax file on the standard HTML one.
At the moment I have used the alternate comment definition
eg
CommentStartAlt = [@
CommentEndAlt = ]
This works fine except where the macro is held with in a string.
eg
meta name="keywords" desc="[@keywords]"
does not highlight.
but
meta name="keywords" desc=[@keywords]
does
Does anyone have any bright ideas
Thanks in advance Jane.