Syntax keywords with space

General questions about using TextPad

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

Post Reply
Don

Syntax keywords with space

Post by Don »

I'm creating a syntax file and some keywords are composed of a pair of words like
Blink Speed:
Key Press:
Data Type:

Is there a way to have the syntax file pair these together? They'll always end with a :

I didn't see any articles in the forum and the help files didn't seem to explain it.
Steven

Re: Syntax keywords with space

Post by Steven »

No, this is not possible.

When matching syntax, the program looks at each word and sees if any syntax word matches it. If there could be spaces, it would need to compare every combination of words which would be very slow.
Post Reply