Editor Options » History » Version 4
Per Amundsen, 03/26/2021 09:31 PM
1 | 1 | Per Amundsen | {{>toc}} |
---|---|---|---|
2 | |||
3 | h1. Editor Options |
||
4 | |||
5 | !editoroptions.png! |
||
6 | |||
7 | There are various options in the Editor which affects various features. |
||
8 | |||
9 | h2. Initialization warning |
||
10 | |||
11 | If enabled, loading new scripts in the [[Scripteditor_Dialog|Script Editor}} which contains a [[on START]] or [[on LOAD]] event will ask to execute these events. |
||
12 | |||
13 | h2. Ask To Save Files |
||
14 | |||
15 | If enabled, AdiIRC will ask before closing a editor if there are unsaved changes. |
||
16 | |||
17 | h2. Monitor File Changes. |
||
18 | |||
19 | if enabled, AdiIRC will monitor all loaded vars/users/menu/aliases/script files for file changes and ask for confirmation before reloading them. |
||
20 | |||
21 | h2. Backup Files On Save |
||
22 | |||
23 | If enabled, AdiIRC will first write to a temporary file the copy the temporary file over the target file. |
||
24 | |||
25 | h2. Indent Format On Exit |
||
26 | |||
27 | If enabled, AdiIRC will perform *check bracket* on the file when the edit is closed. |
||
28 | |||
29 | The check bracket feature indents the code with whitespaces according to the bracket { } level and displays a warning if there are mismatched number of brackets. (the warning is suppressed on closing) |
||
30 | |||
31 | This: |
||
32 | |||
33 | <pre> |
||
34 | 2 | Per Amundsen | alias myalias { |
35 | 1 | Per Amundsen | command1 |
36 | command2 |
||
37 | if (1 == 1) { |
||
38 | command3 |
||
39 | command4 |
||
40 | } |
||
41 | } |
||
42 | </pre> |
||
43 | |||
44 | becomes this: |
||
45 | |||
46 | <pre> |
||
47 | 2 | Per Amundsen | alias myalias { |
48 | 1 | Per Amundsen | command1 |
49 | command2 |
||
50 | if (1 == 1) { |
||
51 | command3 |
||
52 | command4 |
||
53 | } |
||
54 | } |
||
55 | </pre> |
||
56 | 3 | Per Amundsen | |
57 | h2. Find Selection |
||
58 | |||
59 | if enabled, the current selection text will be searched in the search panel when clicking the Menubar (inside the editor) -> Edit -> Find menu item or when pressing the %(key)CTRL% + %(key)F% shortcut. |
||
60 | |||
61 | h2. Cycle search results |
||
62 | |||
63 | if enabled, AdiIRC will continue searching from the top when there are no new matches in the search panel, otherwise it stops searching. |
||
64 | |||
65 | h2. Line Numbers |
||
66 | |||
67 | Enables or disables the line numbers panel in the editor. |
||
68 | |||
69 | h2. Identifier Warning |
||
70 | |||
71 | If enabled, AdiIRC will show a scripting error/warning when a identifier is used which doesn't exist. |
||
72 | |||
73 | _See also [[$~]]._ |
||
74 | |||
75 | h2. Always On Top |
||
76 | |||
77 | If enabled, the editor will always be on top of other windows. |
||
78 | |||
79 | h2. Show On Desktop |
||
80 | |||
81 | If enabled, the editor will be shown on the desktop as a stand alone window and have a taskbar icon, otherwise it will be floated/glued to the AdiIRC main window. |
||
82 | |||
83 | h2. Set External Editor |
||
84 | |||
85 | Set a external program/editor to open the file with when clicking the sidebar file menu -> Open in External Editor. |
||
86 | |||
87 | h2. Show Scripts List. |
||
88 | |||
89 | Enables or disables the sidebar file list. The list can also be accessed from the Menubar (inside the editor) -> View. |
||
90 | |||
91 | h2. Show Top Panel |
||
92 | |||
93 | Enables or disables the Top panel underneath the Menubar (inside the editor). |
||
94 | |||
95 | h2. Word wrap |
||
96 | |||
97 | Enables or disables "word wrapping":https://www.computerhope.com/jargon/w/wordwrap.htm in the editor. |
||
98 | |||
99 | h2. Use smooth scrolling |
||
100 | |||
101 | Enables or disables smooth scrolling in the editor. |
||
102 | |||
103 | h2. Close Icon |
||
104 | |||
105 | Off - Disables the close icon in the sidebar list. |
||
106 | On Hovering - Show the close icon in the sidebar list only when hovering a file. |
||
107 | Active - Show the close icon in the sidebar list for the active file only. |
||
108 | Always - Always Show the close icon in the sidebar list for all files. |
||
109 | 4 | Per Amundsen | |
110 | |||
111 | h2. Listen |
||
112 | |||
113 | Ctcps - Enables or disables triggering [[on CTCP]] [[Scripting_Events]]. |
||
114 | Events - Enables or disables triggering all non RAW/CTCP [[Scripting_Events]]. |
||
115 | Raw - Enables or disables all [[on RAW]] [[Scripting_Events]]. |