Changing whether a toolbar icon is highlighted
I noticed that some plugins have toolbar icons that are highlighted under some circumstances, like this:
and not highlighted other times, like this:
Is it possible to manually change whether the toolbar icon is highlighted? I can’t find any documentation that suggests that this is possible.
AFAIK this typically only happens when a form is opened or closed. But I might want to have a setting that I can toggle on/off by clicking the toolbar, and it would be nice if the highlighting of the icon depended on the value of that setting.
Is it possible to manually change whether the toolbar icon is highlighted?
See https://community.notepad-plus-plus.org/post/88647 for some tips on correct usage.
Agree that that works to check the menu item in the plugin menu, but it doesn’t do anything to the toolbar icon.
I’ll just create an issue in my new C# plugin pack once I finally release it to GitHub, and maybe you can submit a PR.