Menus in devparrot are fully configurables.

Each entry in a menu can be seen as a shortcut to a command launch.

There is a two menu roots : menuBar and popupMenu.

All menu entries must be in one of those menus. After that, you are free to place and organise your entries as you want.

To add a new entry:

menu <menuEntry> <CommandToLaunch>

For exemple :

menu add "popupMenu.delete all occurences" "replace %range(sel) ''\n"

This add a entry "delete all occurences" in the popupMenu that will delete all occurences of the selected text in the buffer.

If you want to add subsection :

menu add menuBar.File.close "close\n"

If you want to remove a entry:

menu del menuBar.File.close