Page 1 of 1

TextPad for website developing (php)

Posted: Sun Mar 02, 2008 7:03 pm
by Nokao
Hi guys...

I know texpad from a long time, but I used it only for java coding.

Now I would like to use it for html/php purpose, so I associated the file extensions et voila'.

Unfortunately, the code is not colored, and also I would like to have a directory tree browser in the left so I can browse my ftp server and edit the files directly.

Can someone help me to pimp my TextPad?

Posted: Sun Mar 02, 2008 11:50 pm
by Bob Hansen
Syntax files exist for HTML at: http://www.textpad.com/add-ons/synh2m.html

Posted: Mon Mar 03, 2008 12:26 pm
by Nokao
Yes, I saw this page, but I did a search and the string "php" was not found neither the string "xhtml".

What I should download? the two "html" packages?

Posted: Mon Mar 03, 2008 4:35 pm
by Bob Hansen
I don't use either of those syntaxes, so I cannot advise you.

But you could download both, and use a Text Editor like TextPad to modify them to your specific needs, and save them as your own php/xhtml syntax file. See the Help section about Syntax Definition Files.

If it seems to work for you, then you could submit your syntax file to the library for others to use. That is how this library has been built up, it is mostly user contributions.

Good luck.

Posted: Mon Mar 03, 2008 7:47 pm
by MudGuard
Nokao wrote:Yes, I saw this page, but I did a search and the string "php" was not found neither the string "xhtml".
As the given page holds the syntax files for H to M, it might be a good idea to go to the syntax file page for N to T to find PHP and to U to Z for xhtml.

Posted: Wed Mar 12, 2008 9:49 am
by Nokao
Oh... that was a good point :P

Thank you