Project

General

Profile

Menus Dialog » History » Version 17

Per Amundsen, 03/26/2021 08:51 PM

1 1 Per Amundsen
{{>toc}}
2
3
h1. Menu Editor
4
5
!editmenus.png!
6
7
The menu editor allows editing various context menus in AdiIRC.
8
9 7 Per Amundsen
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.
10 1 Per Amundsen
11 5 Per Amundsen
The editor shares characteristics with all the other editors.
12
13 2 Per Amundsen
_See also [[Scripting Menus]]._
14 1 Per Amundsen
15 2 Per Amundsen
h2. Defaults
16
17
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.
18
19
h2. Status section
20
21 1 Per Amundsen
Edit the [[Server Windows]] right-click menu.
22
23 2 Per Amundsen
h2. Channel section
24 1 Per Amundsen
25
Edit the [[Channel Windows]] right-click menu.
26
27 2 Per Amundsen
h2. Query section
28 1 Per Amundsen
29
Edit the [[Private Windows]] right-click menu.
30
31 2 Per Amundsen
h2. Nicklist section
32 1 Per Amundsen
33
Edit the [[Nicklist_Control|Nicklist]] right-click menu.
34
35 2 Per Amundsen
h2. Menubar section
36 1 Per Amundsen
37
Edit the [[Menubar_Control|Menubar]] *Commands* menu.
38
39 2 Per Amundsen
h2. Channel Link section
40 1 Per Amundsen
41 11 Per Amundsen
Edit the [[Textarea_Control|Text Area]] #channel link right-click menu.
42 1 Per Amundsen
43 2 Per Amundsen
h2. Link section
44 1 Per Amundsen
45 11 Per Amundsen
Edit the [[Textarea_Control|Text Area]] link/url right-click menu.
46 2 Per Amundsen
47
h2. Saving menus to a different ini file
48
49 14 Per Amundsen
To save the current menu items to a different ini file, click the Menubar (inside the editor) -> File -> Save As menu item.
50 2 Per Amundsen
51
h2. Loading menus from a different ini file
52
53 14 Per Amundsen
To load menu items from a different ini file, click the Menubar (inside the editor) -> File -> Load menu item or use the [[/load]] command.
54 2 Per Amundsen
55 9 Per Amundsen
When loading menu items using the [[/load]] or [[/unload]] command, the menu editor will be automatically updated with the new menu items.
56 8 Per Amundsen
57 15 Per Amundsen
h2. Search/replace text
58
59 16 Per Amundsen
Clicking the Menubar (inside the editor) -> Edit -> Find or pressing the %(key)CTRL% + %(key)F% shortcut opens the search and replace panel.
60 15 Per Amundsen
61 1 Per Amundsen
You can search or search and replace using a [[Scripting_Regex|Regular Expression]] by checking the *Regex* checkbox.
62 16 Per Amundsen
63 17 Per Amundsen
Pressing the %(key)ESCAPE% key closes the search panel.
64
65 16 Per Amundsen
h2. Checking brackets
66
67
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.
68 15 Per Amundsen
69 6 Per Amundsen
h2. Reset a menu section to default
70 2 Per Amundsen
71 12 Per Amundsen
Clicking the reset button resets the current selected menu section to the default menus for that section.
72 3 Per Amundsen
73
h2. Testing menus
74
75 14 Per Amundsen
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.
76 4 Per Amundsen
77
h2. Font
78
79 14 Per Amundsen
The font of the editor can be changed by clicking the Menubar (inside the editor) -> File -> Change Font menu item.
80 10 Per Amundsen
81
_Note: only "truetype":https://en.wikipedia.org/wiki/TrueType fonts can be used._