From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Making SQL-pane $$ aware? |
Date: | 2010-10-22 18:35:53 |
Message-ID: | AANLkTi=k_DxBCPMemJ1Q5XBJRspZkW7Y+31S2+Mk2ibO@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Fri, Oct 22, 2010 at 7:29 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> Guys,
>
> How tricky would it be to make the SQL pane aware of $$ escaping for
> text highlighting?
>
> Hmm. Now that I think of it, it would be good to turn this on and off.
> The current lack of awareness actually makes it easier to compose SPs.
Pretty darn hard actually. The lexer is part of wxWidgets, and is a
generic SQL lexer. We have to write our own (probably clean-room
style, because of the licencing). I was toying with doing that anyway,
as it would be nice to have it understand plpgsql and pgscript, though
I have zero time for it unfortunately.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2010-10-22 18:42:51 | Re: Making SQL-pane $$ aware? |
Previous Message | Josh Berkus | 2010-10-22 18:29:29 | Making SQL-pane $$ aware? |