Page 1 of 1

Need Colors

Posted: Sun Mar 15, 2009 6:18 am
by theonlysmack
I just got the TextPad program today for use with my Java Programming class at the Univ. of Phoenix via Axia College Online.

Here is my problem, I installed the TextPad and the additional program for TextPad, Java Directory Kit. The thing is that now that I have the Java add-on integrated with the TextPad program and I looked to see that the colors are all proper. The thing is that I do not know how to make the program properly highlight the terms used in Java. The colors are already preprogrammed but I do not know how to properly make them work.

Hopefully, someone knows what I am talking about and can help me.

Posted: Sun Mar 15, 2009 10:45 am
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

This information is also available from here:

http://www.textpad.com/forum/viewforum.php?f=9

I hope this helps.

Posted: Sun Mar 15, 2009 10:38 pm
by theonlysmack
THANK YOU SO VERY MUCH!!! That did the trick. As soon as I did "Save As" and made it a .java file it worked so now I know what I need to do. Thank you so very much for the help.