Menus Dialog » History » Revision 16
Revision 15 (Per Amundsen, 03/26/2021 08:47 PM) → Revision 16/19 (Per Amundsen, 03/26/2021 08:49 PM)
{{>toc}} h1. Menu Editor !editmenus.png! The menu editor allows editing various context menus in AdiIRC. it can be opened by clicking [[Menubar_Control|Menubar]] -> Tools -> Edit Menus or by pressing the %(key)ALT% + %(key)P% shortcut or by typing [[/edit]] -m. The editor shares characteristics with all the other editors. _See also [[Scripting Menus]]._ h2. Defaults When no menu ini file exists, AdiIRC internally uses some defaults menus. When opening the menu editor in this case, AdiIRC inserts the defaults into the editor and all the menu sections are marked as being edited/not saved, saving the menus once creates the menu ini file and the marking goes away. h2. Status section Edit the [[Server Windows]] right-click menu. h2. Channel section Edit the [[Channel Windows]] right-click menu. h2. Query section Edit the [[Private Windows]] right-click menu. h2. Nicklist section Edit the [[Nicklist_Control|Nicklist]] right-click menu. h2. Menubar section Edit the [[Menubar_Control|Menubar]] *Commands* menu. h2. Channel Link section Edit the [[Textarea_Control|Text Area]] #channel link right-click menu. h2. Link section Edit the [[Textarea_Control|Text Area]] link/url right-click menu. h2. Saving menus to a different ini file To save the current menu items to a different ini file, click the Menubar (inside the editor) -> File -> Save As menu item. h2. Loading menus from a different ini file To load menu items from a different ini file, click the Menubar (inside the editor) -> File -> Load menu item or use the [[/load]] command. When loading menu items using the [[/load]] or [[/unload]] command, the menu editor will be automatically updated with the new menu items. h2. Search/replace text Clicking the Menubar (inside the editor) -> Edit -> Find or pressing Pressing the %(key)CTRL% + %(key)F% shortcut opens the search and replace panel. You can search or search and replace using a [[Scripting_Regex|Regular Expression]] by checking the *Regex* checkbox. h2. Checking brackets Checking for balanced brackets can be done by clicking the *{}* menu item to the far right of the Menubar (inside the editor) or by pressing the %(key)CTRL% + %(key)H% shortcut. h2. Reset a menu section to default Clicking the reset button resets the current selected menu section to the default menus for that section. h2. Testing menus The *Popup* menu item in the Menubar (inside the editor) can be used to show how the menu items will be shown in the real menu. h2. Font The font of the editor can be changed by clicking the Menubar (inside the editor) -> File -> Change Font menu item. _Note: only "truetype":https://en.wikipedia.org/wiki/TrueType fonts can be used._