In order to enable syntax highlighting in TextPad, you will need to implement the following procedure for each document class, as in the example for Java 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.
http://www.textpad.com
How to enable syntax highlighting
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
How to enable syntax highlighting
Last edited by helios on Mon Jul 03, 2006 9:08 am, edited 5 times in total.
Helios Software Solutions
can't find Python22_1.syn from the list
I try to create a syntax highlight for Python, download Python22_1.syn and copied it into both \system and \Samples subfolder. But when in your step 7, I can't find Python22_1.syn from "Syntax definition file" list. What should I do? Thanks.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
I have it found it best to make sure ALL Textpad documents are closed before setting Configuration Preferences.
1. Open TextPad
2. Close All Documents
3. Configure
4. Preferences
5. Make changes as necessary
6. Apply
7. OK
8. Close TextPad
9. ReOpen TextPad.......preferences have been saved.
1. Open TextPad
2. Close All Documents
3. Configure
4. Preferences
5. Make changes as necessary
6. Apply
7. OK
8. Close TextPad
9. ReOpen TextPad.......preferences have been saved.
Hope this was helpful.............good luck,
Bob
Bob
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Hello Francesco....
Excerpt from http://www.textpad.com/forum/viewtopic.php?t=3755
Please do not post questions here. Use either the General or Java forum
This forum is for you to post helpful instructions on how you have done things with TextPad.
Excerpt from http://www.textpad.com/forum/viewtopic.php?t=3755
Please do not post questions here. Use either the General or Java forum
This forum is for you to post helpful instructions on how you have done things with TextPad.
Hope this was helpful.............good luck,
Bob
Bob