Syntax Highlighting - Different colors within same block

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
conash
Posts: 1
Joined: Wed Jun 18, 2008 2:00 pm

Syntax Highlighting - Different colors within same block

Post by conash »

I am trying to create a Syntax definition file for the highlighting of Fanuc G-Code (CNC programming code). In many cases I want to highlight the command word differently than the numeric value in a command block e.g. in the command G01 I want to highlight the "G" in orange and the "01" in black. I have seen it done with TextPad, but I don't know how to do it. The help files aren't real good when trying to figure out how to accomplish this. How dod I do this?
Post Reply