Thread: [Cgdb-devel] Patch: Vertical split mode
Brought to you by:
bobbybrasko,
crouchingturbo
From: David W. <dwh...@gm...> - 2009-01-19 15:35:12
|
I've added a patch to the patch tracker that allows a vertical split in addition to the current horizontal split. Great for wide-screen monitors. https://sourceforge.net/tracker2/?func=detail&aid=2517429&group_id=72581&atid=534976 |
From: Kuang H. <ic...@gm...> - 2009-01-20 10:55:12
|
On Mon, Jan 19, 2009 at 11:37 PM, David Whetstone <dwh...@gm...> wrote: > I've added a patch to the patch tracker that allows a vertical split > in addition to the current horizontal split. Great for wide-screen > monitors. > > https://sourceforge.net/tracker2/?func=detail&aid=2517429&group_id=72581&atid=534976 Hi David, I've tested your patch with the feature I've longed for, and I loved it! Thanks for your efforts! Wide screen monitors are very common nowadays, and vertically split windows make very efficient use of screen spaces. A small bug I've found: when in vertical split mode, '_'/'+' decreases/increaes the width of the window by 25% of the height rather than 25% of the width. As a related note, I think that 25% of the width might be too large a decrement/increment when one has a very wide terminal window. For example, the size of my full-screen terminal window is 76 lines by 237 columns, so 1/4 of the width is almost 60 columns -- too large when it comes to adjusting the width of the window using '_'/'+'. I suppose this problem might be solved by setting the interval to a small value (e.g. 1/6 or 1/8 of the width/height) when the width/height exceeds a certain value (e.g. 120). Best regards, -- Kuang He |
From: David W. <dwh...@gm...> - 2009-01-20 13:32:13
|
> I've tested your patch with the feature I've longed for, and I loved > it! Thanks for your efforts! Wide screen monitors are very common > nowadays, and vertically split windows make very efficient use of > screen spaces. Thanks for trying it. I'm glad it works for you! > A small bug I've found: when in vertical split mode, '_'/'+' > decreases/increaes the width of the window by 25% of the height rather > than 25% of the width. Good catch. I'll clean that up. I'm sure there are probably a few more nits lurking in there somewhere. > As a related note, I think that 25% of the width might be too large a > decrement/increment when one has a very wide terminal window. For > example, the size of my full-screen terminal window is 76 lines by 237 > columns, so 1/4 of the width is almost 60 columns -- too large when it > comes to adjusting the width of the window using '_'/'+'. I suppose > this problem might be solved by setting the interval to a small value > (e.g. 1/6 or 1/8 of the width/height) when the width/height exceeds a > certain value (e.g. 120). I think you're right about the 25%. Maybe a percentage jump just doesn't make sense for vertical split adjustments. Perhaps a fixed adjustment amount would be more sensible? |
From: Bob R. <bo...@br...> - 2009-02-15 01:08:15
|
On Mon, Jan 19, 2009 at 07:37:34AM -0800, David Whetstone wrote: > I've added a patch to the patch tracker that allows a vertical split > in addition to the current horizontal split. Great for wide-screen > monitors. > > https://sourceforge.net/tracker2/?func=detail&aid=2517429&group_id=72581&atid=534976 Hi David, Thanks for the work. I've been very busy and have not had time to look at this. Have you made any improvements since you've uploaded this? I'll try to take a look at this patch within the next week or two. Thanks, Bob Rossi |
From: David W. <dwh...@gm...> - 2009-02-15 02:15:36
|
Hi Bob, Unfortunately, my brief window of free time closed shortly after I posted the patch. If after you have taken a look at the patch you think it may be worth including, I could try to find some time to clean it up, but It probably won't be for a couple of months. Thanks, David On Feb 14, 2009, at 2:08 PM, Bob Rossi wrote: > * Replies will be sent through Spamex to cgd...@li... > * For additional info click -> http://www.spamex.com/i/?v=30895725 > > On Mon, Jan 19, 2009 at 07:37:34AM -0800, David Whetstone wrote: >> I've added a patch to the patch tracker that allows a vertical split >> in addition to the current horizontal split. Great for wide-screen >> monitors. >> >> https://sourceforge.net/tracker2/?func=detail&aid=2517429&group_id=72581&atid=534976 > > Hi David, > > Thanks for the work. I've been very busy and have not had time to look > at this. Have you made any improvements since you've uploaded this? > > I'll try to take a look at this patch within the next week or two. > > Thanks, > Bob Rossi > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Cgdb-devel mailing list > Cgd...@li... > https://lists.sourceforge.net/lists/listinfo/cgdb-devel |