New syntax class

General questions about using TextPad

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

Post Reply
jwcane
Posts: 15
Joined: Tue Jul 29, 2003 12:29 am

New syntax class

Post by jwcane »

Trying to syntax-highlight content of a new document class. Have some ??'s.

My "brackets" start with (~ and end with ~). I added both to my .syn file after "BracketChars". I would like to change text color of content appearing between those symbols. How is that done?

How can syntax colors be edited? For example, properties are green. Also, commented text is green. Can either of those be changed?
thorwath
Posts: 6
Joined: Sun Jan 06, 2008 8:13 pm

Post by thorwath »

If I understand your question correctly:

1. You make (or made) you "bracket" change in a system *.syn file.

2. You now have to open Textpad and make all color changes in the approprite document Class associated with the *.syn file changed in the previous step.

It is really too bad that all changes for a each custom Class are not kept in a single set file.
Post Reply