I have been trying to make a menu for my plug in and am finding there is a lack of documentation on the menu structure.
For instance the word wrap menu entry is
<item caption="&Word Wrap" command="toggle wordWrap"/>
What does toggle do, and how can my plugin find out about the state of the check?
There is a lot of other commands that are kind of cryptic.
toggleApp
this is intresting also
<item caption="&%I %s" command="openRecentProject %i" repeat="8"/>
how does the repeat work?
For instance can i make a menu option that pops up a single line edit window and allow the user to enter a name? Then have that menu option be "Server: xxxxx" and change when the user enters a new name?