Syntax highlighting issue w/PHP

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
apattin
Posts: 5
Joined: Thu Jun 05, 2003 4:38 pm

Syntax highlighting issue w/PHP

Post 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!
ShadowByte
Posts: 2
Joined: Wed Aug 27, 2003 8:00 pm

Post by ShadowByte »

I have this Problem too.

Is there an solution for this problem ?
User avatar
lapega
Posts: 5
Joined: Tue Aug 26, 2003 5:51 pm
Location: Montevideo
Contact:

Post 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
Post Reply