keyword highlighting

General questions about using TextPad

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

Post Reply
Phil

keyword highlighting

Post by Phil »

Hi,

I'm running 4.5, and have the following problem. When I define [Keywords 4] section, none of the keywords are ever coloured. 1 through 3 work fine. Anyone else run into this? Is there a fix for this?
Jay Hegener

Re: keyword highlighting

Post by Jay Hegener »

And you are changing both the syntax definition file keyword 4 section *and* the coloring for the keywords for that specific document class?

Works fine for me... although I was a little pissed when I didn't understand exactly how the default class works and reset all my custom colors!
Jay Hegener

Re: keyword highlighting

Post by Jay Hegener »

Couldn't get it to work at first either... Then I compared it to a default syntax file. The namespace1 = parameter needs to be set to 4 (or more). "Namespace" seems to correspond to the number of keywords types you have... although I find it a cryptic term.
Post Reply