document class does not work

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
tuli01
Posts: 1
Joined: Fri Jun 12, 2009 4:06 pm

document class does not work

Post by tuli01 »

Hello,

I have 2 licenses installed on 2 different computers. The definitions of the class documents are the same.
On one computer it works on the second computer it does not ( I do not see any colors).

Please advise

Thanks

Tuli
Tuli01
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

In order to enable the syntax highlighting, you will need to implement the following procedure for each Document class, as in the example below:

Click on:

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. Plus sign next to "Java"
5. Syntax
6. Check the "Enable syntax highlighting" box.
7. Under the heading "Syntax definition file" Select
"java.syn".
8. Click Apply / OK

Please ensure that *.java is a member of the Files in class as follows:

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. Java
5. Under the heading "Files in class", make sure that *.java is in the list. If it is not there, then you will need to add it to the list, along with any other file extensions that you are using for Java files.
6.Click Apply / OK

New documents must be saved with the relevant extension, in order for the syntax highlighting to be activated


I hope this helps.
Helios Software Solutions
Post Reply