Recent

Author Topic: Close All menu missing  (Read 2192 times)

n7800

  • Full Member
  • ***
  • Posts: 134
Re: Close All menu missing
« Reply #15 on: August 14, 2024, 12:56:22 pm »
Indeed, with the PackageTabs package installed, there is no "Close all other pages" command in the context menu of file tabs. However, the context menu of package tabs does have a "Close All" option, which closes all files in this package. But there can be many packages, and this does not help much.

Fortunately, I think it is easy to add. In my opinion, this is a necessary functionality.

The same applies to the "Close Pages on the Right" command. But adding it does not make much sense for this package, since the tabs are not opened in the order they were opened, but are grouped. And this creates an ambiguity - should I close all tabs on the right of this package or all tabs of all packages? And should created the same command for package tabs to close all packages opened on the right?

Martin, I do not understand what [Ctrl+RMouse] is supposed to do? I do not see the difference between this combination and the usual [RMouse] press, either with or without the PackageTabs package.

n7800

  • Full Member
  • ***
  • Posts: 134
Re: Close All menu missing
« Reply #16 on: August 14, 2024, 01:01:41 pm »
I'm attaching screenshots for convenience. The first one is a regular menu, the second and third ones are the menu for the "Package Tabs" package ("file-tabs" and "package-tabs").

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10224
  • Debugger - SynEdit - and more
    • wiki
Re: Close All menu missing
« Reply #17 on: August 14, 2024, 01:28:35 pm »
Martin, I do not understand what [Ctrl+RMouse] is supposed to do? I do not see the difference between this combination and the usual [RMouse] press, either with or without the PackageTabs package.

I tested on Windows (installation of official release) and Linux (git main).

Both of them show the "source-tab context menu" if using ctrl+right mouse  (not sure what happens on Mac, since all the control keys are screwed up (from my point of view) on Mac).


You can check under Toos > Options : Editor > Mouse
Select "Right" from the row with all the mouse buttons.

It should say
Right button: Context menu
...
ctrl button: Context menu (tab)
...

n7800

  • Full Member
  • ***
  • Posts: 134
Re: Close All menu missing
« Reply #18 on: August 14, 2024, 03:07:05 pm »
If you have custom tabs, and are missing the original menu, then try: CTRL + right click  on the text area of the editor. It should open that menu.

Sorry, I didn't read carefully and thought it was a click on a tab, not on the text area of ​​the editor. An interesting feature, although unexpected.

Yes, it works with this package too, and it has all the commands, including "Close all other pages" and "Close Pages on the Right". Both work.

Although, I repeat, the latter command is less important, since due to the grouping, "tabs on the right" does not mean "later opened". Without this package, this is also not guaranteed, since new tabs are opened not at the end, but to the right of the current one, but still...

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10224
  • Debugger - SynEdit - and more
    • wiki
Re: Close All menu missing
« Reply #19 on: August 14, 2024, 03:48:29 pm »
An interesting feature, although unexpected.

You can also define a shortcut to the "debug" context menu (which is a submenu of the normal menu).
Though not all modifier combos work with that on all OS...

Then rather than, finding the submenu in the context menu you can do e.g. shift + right click. (or whatever you assign it to... even middle mouse, or button 4 or 5)


Quote
Although, I repeat, the latter command is less important, since due to the grouping, "tabs on the right" does not mean "later opened". Without this package, this is also not guaranteed, since new tabs are opened not at the end, but to the right of the current one, but still...
"right" = "later opened" is not guaranteed with the normal tabs either.

1) drag and drop changes the order.

2) (not sure if a setting, but for me (with normal tabs), new tabs are opened right to the current tab (becoming its new right neighbour).
So, if I open a new tab as the new right to tab number 7, and then a later-opened new tab on the right to tab number 2 => then the later-opened will have an earlier opened to its right.

n7800

  • Full Member
  • ***
  • Posts: 134
Re: Close All menu missing
« Reply #20 on: August 14, 2024, 09:25:28 pm »
You can also define a shortcut to the "debug" context menu (which is a submenu of the normal menu).
Though not all modifier combos work with that on all OS...

Then rather than, finding the submenu in the context menu you can do e.g. shift + right click. (or whatever you assign it to... even middle mouse, or button 4 or 5)

It seems the function is broken - when clicked, nothing happens (on Windows, haven't tested others). It doesn't work for me even in version 2.2.6. The context menu of the tab and the usual one work.

"right" = "later opened" is not guaranteed with the normal tabs either.

1) drag and drop changes the order.

2) (not sure if a setting, but for me (with normal tabs), new tabs are opened right to the current tab (becoming its new right neighbour).
So, if I open a new tab as the new right to tab number 7, and then a later-opened new tab on the right to tab number 2 => then the later-opened will have an earlier opened to its right.

I agree. But I don't know what else the function of closing tabs on the right can be useful for, if this set can be "random". It is noteworthy that there is no function of "closing tabs on the left".

n7800

  • Full Member
  • ***
  • Posts: 134
Re: Close All menu missing
« Reply #21 on: August 20, 2024, 07:59:00 pm »
You can also define a shortcut to the "debug" context menu (which is a submenu of the normal menu).
Though not all modifier combos work with that on all OS...

Then rather than, finding the submenu in the context menu you can do e.g. shift + right click. (or whatever you assign it to... even middle mouse, or button 4 or 5)

It seems the function is broken - when clicked, nothing happens (on Windows, haven't tested others). It doesn't work for me even in version 2.2.6. The context menu of the tab and the usual one work.


I created an issue so this problem wouldn't be forgotten. It turns out it's a regression from 2016 year...

 

TinyPortal © 2005-2018