Ticket #288 (closed enhancement: wontfix)
Close some files menu option
| Reported by: | szabgab | Owned by: | |
|---|---|---|---|
| Priority: | frozen | Milestone: | |
| Component: | editor | Version: | 0.32 |
| Keywords: | Cc: |
Description
Often I reach the point that I have 15-20 files open and I'd like to get rid of some of them right now I have to go over all the buffers and close one by one
What do you think about a new menu option "Close Some"
That would bring up a window with the list of files currently opened that can be used to close some of the by clicking on the name
Change History
comment:2 Changed 4 years ago by szabgab
- Priority changed from major to minor
ok, so lets freeze this idea now.
I did not know about the mid-button trick in FF and I am not sure why is that better than clicking on the [x] of the tab. In any case I'd be happy if someone found out how to catch those clicks in Wx.
comment:4 Changed 4 years ago by therek
I guess it's a bit less effort to middle-click on a wide tab.
You can catch middle-clicks using EVT_MIDDLE_UP, like:
package WxTestApp; use strict; use Wx; use base 'Wx::App'; sub OnInit { Wx::Event::EVT_MIDDLE_UP( $_[0], sub { print "You clicked middle mouse button!\n"; $_[1]->Skip(1); } ); my $frame = Wx::Frame->new(undef,-1,"test"); $frame->Show; } 1;

Sorry to be so blunt, but personally, I would consider this feature just bloat. You'd have to want to close MANY windows for this to be useful at all.
How about supporting closing tabs on middle-click on the tab instead? That's how it works for my firefox. Quite useful!