how to make the code show color

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
textpad1234
Posts: 1
Joined: Thu Mar 10, 2011 2:56 am

how to make the code show color

Post by textpad1234 »

why all my codes i typed in, they're just black and not show color like green, red blue etc
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 "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
Helios Software Solutions
Post Reply