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 <[EMAIL PROTECTED]> wrote: > > On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge > <[EMAIL PROTECTED]> 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 >