Syntax higtlighting on file without extension
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Syntax higtlighting on file without extension
Hi There,
I want to use java syntax highlight on filename pattern *JPO (postfix with JPO, no extension). I tried *JPO, *JPO. and *JPO.*, but none of them worked. Could Textpad do it?
Thanks,
Yong
I want to use java syntax highlight on filename pattern *JPO (postfix with JPO, no extension). I tried *JPO, *JPO. and *JPO.*, but none of them worked. Could Textpad do it?
Thanks,
Yong
Please try this:
Make sure you only have one instance of TextPad open.
From the Configure menu, choose New Document Class. Type ZJPO for the Document class name. Click Next. Type *JPO for the class member. Click Next. Tick Enable syntax highlighting, and choose java.syn from the drop down list. Click Next/Finish.
When you open a *JPO document, it should now have java.syn applied to it.
I hope this helps.
Make sure you only have one instance of TextPad open.
From the Configure menu, choose New Document Class. Type ZJPO for the Document class name. Click Next. Type *JPO for the class member. Click Next. Tick Enable syntax highlighting, and choose java.syn from the drop down list. Click Next/Finish.
When you open a *JPO document, it should now have java.syn applied to it.
I hope this helps.
Helios Software Solutions
OK, here is what I found. If I open a new file like *JPO, it works. If I open a saved workspace contains *JPO, it doesn't work. If I close that *JPO file, and open it again within the workspace, it works.
It looks like the workspace file is not reading the latest doc calss settings...
Thanks for the help.
It looks like the workspace file is not reading the latest doc calss settings...
Thanks for the help.
Indead, was ein Mist!OK, here is what I found. If I open a new file like *JPO, it works. If I open a saved workspace contains *JPO, it doesn't work. If I close that *JPO file, and open it again within the workspace, it works.
It looks like the workspace file is not reading the latest doc calss settings...
More than one year has gone and nothing changed at this strange behaviour, wasting many hours for me and others!!!
There should be a refresh-Button for workspace!