Multi-language syntax highlighting for WebFOCUS

Syntax highlighting, code folding, brace matching, code indenting, and function list

Multi-language syntax highlighting for WebFOCUS

Postby boogerweed » Tue May 17, 2005 8:10 am

I use a language called WebFOCUS which can have HTML and Javascript embedded in it. My question is simple, "Can I syntax highlight all three languages in the same file?". The doucmentation isn't clear to me that I can or can't. If I can, how do I do it? TIA....Kelly
User avatar
boogerweed
Newbie
 
Posts: 3
Joined: Sun May 08, 2005 11:00 pm

Re: Multi-language syntax highlighting for WebFOCUS

Postby Mofi » Sun Jun 18, 2006 11:52 am

Yes and no. You cannot use the multi-language syntax highlighting feature for WebFOCUS files because this feature is built in for HTML files only.

You can only create a syntax highlighting language definition which contains all WebFOCUS keywords at color 1+2, all HTML keywords at color 3+4 and all Javascript keywords in color 5+6.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4039
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting

cron