Page 1 of 1
not color in text in java prog
Posted: Sun Jan 06, 2002 11:46 pm
by Raza
Dear sir/ madam. recently ater reinstalling textpad, the java programs i write only appear in black text, wheras before they would be colour coded. Ive checked all the preferences but they are still all correct. Also the programs still compile and run correctly. Please could u help me restore all the colour coded text. thanky for ur time....
Re: not color in text in java prog
Posted: Wed Jan 09, 2002 10:55 pm
by Mark Schnitzius
Under Configure | Preferences | Document Classes | Java | Files In Class, does it list *.JAV and *.JAVA?
Re: not color in text in java prog
Posted: Wed Feb 13, 2002 11:33 am
by Sara
I have the same problem with the non-coloured-Text. Under Document Classes are listed *.JAV and *.JAVA.
Re: not color in text in java prog
Posted: Wed Feb 13, 2002 1:02 pm
by aamelbye
I have the same problem. This problem occurs under all document classes. I recently upgraded from 4.0 to 4.5, but the problem is still there. I have double checked the preferences.
Thank you.
Re: not color in text in java prog
Posted: Wed Feb 13, 2002 1:18 pm
by aamelbye
To everyone with the same problem.
I've found the answer at the Technical Support Forum:
http://www.textpad.com/forum/read.php?f=1&i=2517&t=2517
Thank you Stephan

)
So simple and so much time wasted!
Re: not color in text in java prog
Posted: Wed Feb 13, 2002 7:37 pm
by Sara
Thank you!!!
The answer. (tested and it worked)
Posted: Sat Mar 29, 2003 7:22 pm
by booo
In order to enable the syntax highlighting in TextPad, 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