Re: Wish List Request: Tabbed SQL Query Window - Mailing list pgadmin-support

From Ryan Daniels
Subject Re: Wish List Request: Tabbed SQL Query Window
Date
Msg-id 810d74eb0806260542g2cca5c2bk8b42a7008b49400c@mail.gmail.com
Whole thread Raw
In response to Re: Wish List Request: Tabbed SQL Query Window  ("Dave Page" <dpage@pgadmin.org>)
List pgadmin-support
 
Most of the query writing software I have worked with is tab-based. This seems like a natural point in the evolution of pgAdmin. :-)
 
On 6/26/08, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Ryan Daniels a écrit :
>>
>> I would like to request that the SQL query window have tabs so that you
>> can have multiple queries/files open in the same window.
>>
>
> I think it could be a great idea. Don't know if it's really feasible but I
> like the idea.

Seems like it would be a lot of work. You'd need to seperate all the
query code out into a seperate class that you could instantiate aas
required on new tabs, and modify all the window options such that they
affect all tabs, or work with just the selected one as appropriate
(think 'Show line endings' vs. 'EOL Mode).

It would also look pretty weird as we will be adding tabs to the text
control soon anyway to handle the query builder, so we'll end up with
two sets of tabs on a tabset.

I'm happy to review patches though if someone wants to put some effort into it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Wish List Request: Tabbed SQL Query Window
Next
From: Guillaume Lelarge
Date:
Subject: Re: Wish List Request: Tabbed SQL Query Window