-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show a prompt in the status bar when activating a menu. #101
Comments
You can do it by calling winapi functions https://github.com/sieukrem/jn-npp-plugin/wiki/Helpful-scripts |
Да установить текст в статус-бар я смогу, а вот отловить момент активации пункта меню и узнать его prompt - нет. |
There is a menu event triggered when menu expands https://github.com/sieukrem/jn-npp-plugin/wiki/Working-with-menu#best-way-to-disable-whole-submenu-or-single-menu-entry But I guess you want an event on mouse over menu item. This one is not implemented and I don't know whether windows provides it. |
Я посмотрю. |
I assume you did not find the corresponding API events. Could we close this issue? |
Hi, sieukrem.
Whether it is possible to show a hint in the status bar when activating a menu?
var mySwitchIntellMode = {
text: "Intellisense (вкл/выкл)\tctrl+F8", //"Switch intell mode\tctrl+F8",
ctrl: true,
shift: false,
alt: false,
key: 0x77,
cmd: switchIntellMode,
prompt: "Функция switchIntellMode" //<<<<<<
};
addHotKey(mySwitchIntellMode);
gIntellModeMenuItem = scriptsMenu.addItem(mySwitchIntellMode);
The text was updated successfully, but these errors were encountered: