Open GoogleCodeExporter opened 9 years ago
I understand what you mean. I am opposite of you. I don't like that all plugins
are collected together under "Plugins" menu item. It was a restriction of N++ I
broke.
I think there are many people who would say Alex is right, but I think there
are many people who would say Eugen is right also.
If I look to other software products like Word/Excel/PhotoShop/VisualStudio.
All of them offer own menus for actions which belong together.
What we can do to realize your suggestion? We can define new addMenu function
in start.js
var jnScriptsMenu = Editor.addMenu("jN-Scripts");
var addMenu = function(cfgOrText){
return jnScriptsMenu.addMenu(cfgOrText);
}
This redefinition can be made depending on a setting.
In all scripts Editor.addMenu should be replaced by simple addMenu.
Editor.addMenu can be used further to add menus to main menu and addMenu to add
menus to jnScriptsMenu.
What do you think about it?
Original comment by eugen.kr...@gmail.com
on 6 Apr 2014 at 8:45
Thats more or less how I implemented the menu as well.
Whether the menus are put into the menu bar or into one menu item could be made
configurable in settings for the plugin.
Original comment by alexl...@gmail.com
on 6 Apr 2014 at 9:00
[deleted comment]
incidentally, I discovered the plugin via this post in stackoverflow
http://stackoverflow.com/questions/17430523/can-we-decode-url-with-nodepad, and
there somebody complained in the comments about the menu items, that got me
thinking.
Original comment by alexl...@gmail.com
on 6 Apr 2014 at 9:02
Original issue reported on code.google.com by
alexl...@gmail.com
on 6 Apr 2014 at 5:44