Page 1 of 1

Syntax highlighting issue w/PHP

Posted: Mon Jul 28, 2003 8:50 pm
by apattin
Hi all,

I'm using textpad to edit PHP using the syntax files downloaded from this site and it all works fine except...the highlighter loses its way if you have a statement like this:

if (foo > bar) ...

it seems to confuse the ">" in the if statement with the "syntaxEnd" command. Any way around this?

Thanks!

Posted: Wed Aug 27, 2003 8:02 pm
by ShadowByte
I have this Problem too.

Is there an solution for this problem ?

Posted: Thu Aug 28, 2003 8:14 pm
by lapega
It's easy, you have to change your .syn file:

where says
SyntaxStart = <
SyntaxEnd = >

you put
SyntaxStart =
SyntaxEnd =

Hope it works

Sorry about my bad english