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
Syntax Highlighting Problems
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
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.
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.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be