Syntax colors
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 3
- Joined: Wed Aug 30, 2006 3:20 am
Syntax colors
I want to know where if I can define the syntax color coding in the syntax file? If not, how can I extract the exact color to put it in the syntax file(commented) so everyone that uses my syntax file will have the same color?
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
No easy way to do that. Must be done manually.
What I have done is included the Color info as comments in the syntax file. Here is an excerpt from my Macro Scheduler syntax file:
What I have done is included the Color info as comments in the syntax file. Here is an excerpt from my Macro Scheduler syntax file:
[Keywords 3]
;Navy (0,0,128)- Conditionals
If
IfFileExists
IFE
IfFileChanged
IFC
IfWindowOpen
IFW
IfDirExists
IFD
[Keywords 4]
;Red (255,0,0)- Navigation
Goto
Label
Repeat
Until
Gosub
SRT
End
[Keywords 5]
;Sea Green (64,128,128)- Visual Basic
VBSTART
VBEND
VBEVAL
Hope this was helpful.............good luck,
Bob
Bob