Need Colors

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
theonlysmack
Posts: 2
Joined: Sun Mar 15, 2009 6:12 am
Location: Pittsburgh, PA
Contact:

Need Colors

Post 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.
"This is my story." - Tidus, Final Fantasy X
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

This information is also available from here:

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

I hope this helps.
Helios Software Solutions
theonlysmack
Posts: 2
Joined: Sun Mar 15, 2009 6:12 am
Location: Pittsburgh, PA
Contact:

Post 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.
"This is my story." - Tidus, Final Fantasy X
Post Reply