TextPad 4.7.3 problem with enabling syntax highlighting

General questions about using TextPad

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

Post Reply
regvito
Posts: 2
Joined: Mon Dec 06, 2004 9:14 pm

TextPad 4.7.3 problem with enabling syntax highlighting

Post by regvito »

Just installed 4.7.3 on my Win2K box (service pack 4) and wanted
to enable java syntax highlighting. After starting TextPad, I go
to Configure->Preferences->Document Classes->Java
After clicking on Java, I tried clicking on Syntax, but this error
pops up: "The file extension cannot include spaces, dots, \, /, "*?"
or "**".

I haven't even done anything or entered anything and I already
get an error! I end up having to Cancel since I can't click on anything else in the Preferences without that error popping up.

Any clues?
regvito
Posts: 2
Joined: Mon Dec 06, 2004 9:14 pm

Post by regvito »

I realized in the "Files in class Java" window, there are a bunch
of entries. One of which is this:

SyntaxFile"="%ProgramFilesFolder%"\TextPad4\System\JAVA.SYN"

It looks like the error is because of those backslashes in there.
Why would this be entered in that window if those chars are
forbidden. Anyway I tried deleting it, and after hitting Apply,
there are then a bunch of warning pop ups. (It seems there
are entries in the "Files in class Java" window that don't seem
to be extensions but properties. Some listed are Properties,
SyntaxProps", WordChars, etc)

Anyway, I end up being able to highlight Syntax under the Java
Document class and enabling syntax highlighting and choosing
java.syn for the definition file. After closing TextPad,
I open up a java file (Test.java) and no highlighting occurs!

Anyone know what can be wrong?
charles
Posts: 20
Joined: Mon Dec 27, 2004 5:11 pm
Contact:

Java Highlighting

Post by charles »

Is the file extension concerned registered under multiple (or any) "Document Classes" (TextPad's Preferences dialog) ?
Post Reply