Syntax Highlighting and FTP support

General questions about using TextPad

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

Post Reply
Brian

Syntax Highlighting and FTP support

Post by Brian »

Is it possible to get PHP and HTML syntax highlighting in the same document (like EditPlus)? I was surprised to find out that TextPad, since there are a number of embeded scripting languages these days.

I just had to dump EditPlus. TexPad is far superior in features, but the single-language-only syntax highlighting is a bummer. I played with it for hours (playing with different levels of keywords) and couldn't get it to work. However, I'm still sticking to TextPad, and I registered a few hours ago.

Another annoynace is that I can't get variables that are prefixed with $ to be one solid color. In other words, if $ is gold, $ is the only gold character, rather than the whole $variable being gold.

Here's another example:

$xhtml->BoldFont($admin->errorMsg);

In that, with my current scheme, the characters $, ->, ( and ) are gold.

That, along with no HTML syntax highlighting in PHP files makes my files look like a speckled rainbow. :-)

Thanks for listening.
Brian

Re: Syntax Highlighting and FTP support

Post by Brian »

Check that, "I was surprised to find out that TextPad, since ...." was supposed to be, "I was surprised to find out that TextPad doesn't have that feature, since..."

I also left out my question about FTP. Are there any plans to add FTP support (Ie. similar to UltraEdit, EditPlus, etc.)?
A Different Brian

This is not encouraging. :P

Post by A Different Brian »

I too was wondering about HTML and PHP syntax-coloring. It is not encouraging that nobody has answered a question posted last month. Perhaps TextPad simply does not offer proper syntax-coloring for embedded languages. :P
Brian

Re: This is not encouraging. :P

Post by Brian »

Since I've posted this, I've emailed TextPad support and here is what they had to say about syntax highlighting support for embedded languages, like PHP:

"Not yet, but that capability is planned for a future release."

I also received a response to my `built in FTP' inquiry:

"Yes, FTP support is also planned. In fact, the only reason for the delay is that we'd like to do it as part of the Open File dialog box, and that's much harder than adding some more commands to the File menu!"

So this looks encouraging after all. :D
Post Reply