Display default tab contextmenu
-
Hello to all.
How to I can display the default tab’s contextmenu over my item? -
@Track77
First you are going to have to explain what that means.
-
I mean this contextmenu.
I want show it over items in the “Windows Manager” dialog.
https://drive.google.com/file/d/1sN7cy16W0pfeDN2cwP6ZhQlGkzjYbziv/view?usp=sharing -
@Track77
you can use the tab’s context menus on your document list, if you use the built in “doc switcher” instead of “documents manager”.
go to
settings > preferences > general
and enableshow document list panel
, as seen at the screenshot below.on the doc switcher you will have the same context menus on all files, as you have at each tab (see next screenshot)
-
Thanks but forum name is "Plugin Development " :)
This is a solution:
SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_TRIGGERTABBARCONTEXTMENU, this.listViewDocs.Handle, focusedItem.TabIndex); focusedItem.TabIndex - index of opened document
-
@Track77,
Thanks but forum name is "Plugin Development " :)
Not all plugin developers frequent this forum. You might look up the contact info for the Documents Manager plugin, and try to contact directly (either thru email or a repository “issues” page or equivalent). They’re probably be more willing to help, since you appear to have a patch to apply to the source code.
-
This is my version of “doc switcher” with ability to filter documents :)