Syntax highlighting problem
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
kenpierce
- Posts: 2
- Joined: Wed Mar 17, 2004 5:08 pm
Syntax highlighting problem
Hello everyone, I'm currently trying out the shareware version of TextPad while writing some php/html. The thing is, although the file has the .php extension, it seems to be highlighting it just as html (since the file contains both), which is causing problems with escaping ". Is there anyway to get TextPad to recognise sections of html and php properly?
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Found this using Search, it mentions using the php4html.syn file, take a look here. HTH
Adam Benson wrote:My favorite syn file is php4html.syn. You will find it at the Add-ons |n-t| page listed as PHP/HTML. It is described as: "Syntax definition file, which adds (TextPad Standard) HTML syntax highlighting, to a PHP source file - permitting easier reading of PHP & HTML intermixed code. It's using the latest PHP4.1 syntax definition file. Contributed by Anonymous, 28 April 2002."
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