SynHght doesnt work for keyword when there is a space in it

General questions about using TextPad

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

Post Reply
hisanjay
Posts: 2
Joined: Mon May 15, 2006 1:34 pm

SynHght doesnt work for keyword when there is a space in it

Post by hisanjay »

When i want to highlight a Custom Keyword and give ti in the Synatx File i dont have any problem and everything works file and the keyword is highlighted.

But, When my Keyword containes a space i nit , the entire set of keywords in the group say for example [Keywords 2] stops working.

Eg: KEYWORD - Works
KEY WORD - Does not Work.

This this s limitation or is there a workaround or am i doing something wrong?

Any help in this regard would be highly appreciated.

Regards,
Sanjay
Tahsmo
Posts: 17
Joined: Fri May 19, 2006 5:40 am

Post by Tahsmo »

You could create two keywords instead of a single one. The difference is only important for you. You will see no difference unless you are using a background colour for the keyword group.

Example

Does not work:
KEY WORD

Does work:
KEYWORD
KEY
WORD

regards
Tahsmo
Post Reply