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?
TextPad 4.7.3 problem with enabling syntax highlighting
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
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?
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?
Java Highlighting
Is the file extension concerned registered under multiple (or any) "Document Classes" (TextPad's Preferences dialog) ?
Charles
http://www.charleswebdesign.com/
http://www.charleswebdesign.com/