Page 1 of 1

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

Posted: Mon Dec 27, 2004 7:47 pm
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]

Posted: Mon Dec 27, 2004 8:07 pm
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?

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

Posted: Mon Dec 27, 2004 11:50 pm
by mehl
S --

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

Larry