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.