Open trdm opened 4 years ago
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);