Setting or Changing Colors of Document Classes

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
notepad
Posts: 12
Joined: Thu Dec 20, 2007 11:05 pm
Location: USA
Contact:

Setting or Changing Colors of Document Classes

Post by notepad »

TextPad has reverted back to basic black & white color for character and line display.

I was able to set the line highlight color in preferences, but the other colors refuse to apply and don't work.

Any ideas how to enable colors, especially for PHP?

# # #
notepad
Posts: 12
Joined: Thu Dec 20, 2007 11:05 pm
Location: USA
Contact:

Post by notepad »

I just noticed that the background color setting works (temporarily), but if I close TextPad and reopen the doc, the settings are removed and it reverts back to B & W. :(

# # #
User avatar
helios
Posts: 710
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 "HTML"
5. Syntax
6. Check the "Enable syntax highlighting" box.
7. Under the heading "Syntax definition file" Select
"html.syn".
8. Click Apply / OK

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

1. Configure
2. Preferences
3. Plus sign next to Document Classes
4. HTML
5. Under the heading "Files in class", make sure that *.html 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 HTML files.
6.Click Apply / OK

I hope this helps.
Helios Software Solutions
notepad
Posts: 12
Joined: Thu Dec 20, 2007 11:05 pm
Location: USA
Contact:

Resolved...

Post by notepad »

Excellent - worked like a charm.

Thanks! :D
Post Reply