Syntax definition files + saving colors

General questions about using TextPad

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

Post Reply
ikes
Posts: 4
Joined: Wed Mar 24, 2004 2:35 pm

Syntax definition files + saving colors

Post by ikes »

I created my own Syntax def. file for a proprietary file format we use. Then I modified the colors and some other settings in my preferences. But those colors don't get saved in the .syn file. Where do they go? I want to share this .syn file with others in my company so we can all use the same color coding scheme, (not C/HTML/Perl/etc...) but I don't want to individually set up each machines color scheme for this .syn file. Any way to do export my colors and other settings?

Thanks much,
Dan
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

No way to do that, but I enter a reference to the desired color in each of the key sections so that I can know what colors to change to.

Here is an excerpt from my syntax file for Macro Scheduler:

Code: Select all

CharEnd =
CharEsc =

;Note: Keywords cannot have spaces or operators
[Keywords 1]
;Green (0,128,0)- Commands
Run
Program
Wait
Wai
ExecuteFile
Exe
...
...
...
[Keywords 2]
;Lt Blue (0,0,255)- PRESS KEY /MOUSE functions 
Press
Backspace
Tab
...
...



Hope this was helpful.............good luck,
Bob
Post Reply