Help (again) with colors in a SYNTAX FILE . . .
Posted: Sat Dec 27, 2003 11:04 pm
Hi all, I tried to modify the php.syn file to highlight _only_ two different strings and TP is not responding to my color selections.
I only ever use one php file: It is a page counter, and there are only two different places that I will ever need to quickly locate in the whole file. the exact strings are
/EDITME.dat
and
/DIT-DAT
/EDITME.dat appears at the end of one URL and needs to be in red.
/DIT-DAT is a subdirectory, and part of a URL and needs to be in blue.
So far the only feature I've been able to get working is the entire URL highlighting. The problem is, I don't want the entire URL highlighted — only these exact two portions of their respective strings — and it is further complicated by the fact that the / characters have to appear in two separate colors. Here is my modified php.syn file. Please help me correct it. Thanks guys,
Skye
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = Yes
KeyWordLength =100
BracketChars =
OperatorChars =
PreprocStart =
SyntaxStart =
SyntaxEnd =
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment =
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
StringStart =
StringEnd =
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
[Keywords 1]
/EDITME.dat
[Keywords 2]
/DIT-DAT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I only ever use one php file: It is a page counter, and there are only two different places that I will ever need to quickly locate in the whole file. the exact strings are
/EDITME.dat
and
/DIT-DAT
/EDITME.dat appears at the end of one URL and needs to be in red.
/DIT-DAT is a subdirectory, and part of a URL and needs to be in blue.
So far the only feature I've been able to get working is the entire URL highlighting. The problem is, I don't want the entire URL highlighted — only these exact two portions of their respective strings — and it is further complicated by the fact that the / characters have to appear in two separate colors. Here is my modified php.syn file. Please help me correct it. Thanks guys,
Skye
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = Yes
KeyWordLength =100
BracketChars =
OperatorChars =
PreprocStart =
SyntaxStart =
SyntaxEnd =
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment =
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
StringStart =
StringEnd =
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
[Keywords 1]
/EDITME.dat
[Keywords 2]
/DIT-DAT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -