Page 1 of 1

Syntax Highlighting Problems

Posted: Sun Sep 28, 2003 7:15 pm
by arpan_de
I am having problems using asp.syn (not only before making any changes to it but also after altering it to include HTML elements & keywords) to highlight ASP files. For e.g. If is a keyword in ASP & hence is included in asp.syn. But what I find in ASP files is that some of the Ifs get highlighted but some of the Ifs do not get highlighted. How do I avoid this? asp.syn also includes keywords Request & Form. When TextPad encounters Request.Form in an ASP file, though Form gets highlighted Request doesn't get highlighted. This happens because of the presence of the dot (.) in between Request & Form. How do I highlight Request (or any other ASP keywords) in such cases?

Lastly asp.syn has C=1 in line no.4. What does this signify? Altering 1 to any number upto 6 doesn't make any difference but an error gets generated if C>=7. Similarly html.syn shows HTML=1. What do all these things mean?

Thanks,

:? Arpan :?

Posted: Sun Sep 28, 2003 11:25 pm
by s_reynisson
Regarding the C=1 you can refer to this post or just goto TP's
help file using the search "Syntax definition".

I think the dot-thingy has to do with "Other characters in words"
under the Syntax options for each document class, but I'm not willing to
bet anything on it. :roll: