Document colors don't show

General questions about using TextPad

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

Post Reply
Neal
Posts: 3
Joined: Wed Aug 20, 2003 6:46 pm

Document colors don't show

Post by Neal »

I'm trying out Textpad 4.7, running it on a Win98 machine. I edit HTML documents with it, but I cannot get colors for the various document classes to show up in HTML files. I've fiddled with the Preference settings to no avail. Any suggestions on how to make the colors show up?
bartlett22183
Posts: 12
Joined: Fri Jul 25, 2003 7:24 pm
Location: Vienna, VA, USA

Post by bartlett22183 »

Do you have a syntax file for HTML and do you have it specified correctly under Preferences for an HTML document class? Or maybe I'm not understanding your question correctly.
Paul Bartlett
bartlett@smart.net
Neal
Posts: 3
Joined: Wed Aug 20, 2003 6:46 pm

Post by Neal »

I should be more clear. I open an HTML file, and all the text, regardless of the tag, is in black. In Configure-->Preferences-->document class-->HTML-->Colors, various colors are given to different items but none show up in the HTML doc when it is open in TextPad.
User avatar
webmasta
Posts: 169
Joined: Mon Jul 28, 2003 8:16 pm
Location: Toronto

Post by webmasta »

Did you "enable syntax highlighting" and chose the html definition file??

Try preferences /document classes /html /syntax.

Put a check mark in "enable syntax highlighting" and choose html.syn file from the drop down selectoor.
User avatar
bbadmin
Site Admin
Posts: 813
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

Another thing to check is that the file extension of your files is included in the list of members of the HTML document class, and not any other class. Note that "*.html" (or whatever) is required, not just ".html" or "html". Without wildcards, the member is assumed to be an exact file name.

Keith MacDonald
Helios Software Solutions
Neal
Posts: 3
Joined: Wed Aug 20, 2003 6:46 pm

Thanks

Post by Neal »

Thanks Webmasta--you hit the nail on the head. BINGO!
Neal
Post Reply