Page 1 of 1

Mixed syntax files

Posted: Fri Dec 20, 2002 12:56 am
by Aristide Aragon
Hello.

I am a regular programmer of PHP, and am just starting with ASP (not by choice, but that's irrelevant).
Anyways, all syntax files I've found for both only highlight the PHP/ASP part; I was wondering if it's possible to make a mixed syntax file that would be like:


StartSyntax2 = <?
EndSyntax2 = ?>
Syntax = html.syn
Syntax2 = php.syn

Or if that's not possible at least to make a single syntax file with both the PHP and HTML (or ASP and HTML) tags, and it knowing which highlights to use.

Thanks