Syntax oddness

General questions about using TextPad

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

Post Reply
vr8ce
Posts: 25
Joined: Thu Dec 04, 2003 6:54 pm

Syntax oddness

Post by vr8ce »

TP 8.1.2 on Win7SP1.

I have a SQL Syntax file that has the @@ variables in Keywords3, along with all of the built-in functions. Somewhere along the line, I suspect in 8.x, the @@ variables stopped being colored, even though the functions themselves are.

The syntax file is one DL'd from TP's web site and then added to. It's a "C=1" type file.

Vastly over-simplified example…
[Keywords 3]
@@procid
@@rowcount
AVG
ERROR_NUMBER

AVG and ERROR_NUMBER are colored in TP, but @@procid and @@rowcount aren't.

So, why aren't the @@ variables being highlighted when other things in the keyword block are, and/or how can I troubleshoot this further?
vr8ce
Posts: 25
Joined: Thu Dec 04, 2003 6:54 pm

Re: Syntax oddness

Post by vr8ce »

Anyone?

I confirmed that this worked on 7.6.4. So it broke somewhere in the transition to 8, but I don't know exactly when.

Given that it worked until 8.x, I would consider this a bug that needs to be fixed.

Thanks!
Post Reply