SQL.syn file - new words added; don't hilight

General questions about using TextPad

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

Post Reply
mehl
Posts: 8
Joined: Wed Oct 01, 2003 7:39 pm

SQL.syn file - new words added; don't hilight

Post by mehl »

Hello --

I added a couple of words in [Keywords 1] in SQL.syn:
GROUP BY
ORDER BY

They do not hilight in a .sql file viewed in TextPad.

What else is required to make their presence in a .sql file be hilighted?

Thanks for any help.

Larry Mehl
[/code]
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

TP does not like spaces in keywords. Did you try using just "group" and "order" as it's done in the MySQL syntax file?
Then I open up and see
the person fumbling here is me
a different way to be
mehl
Posts: 8
Joined: Wed Oct 01, 2003 7:39 pm

SQL.syn file - new words added; don't hilight

Post by mehl »

S --

Thanks. That was the problem. I added the SQL Server reserved words to complete the list.

Larry
Post Reply