Project

General

Profile

Actions

Editor Options » History » Revision 2

« Previous | Revision 2/4 (diff) | Next »
Per Amundsen, 03/26/2021 09:18 PM


Editor Options

There are various options in the Editor which affects various features.

Initialization warning

If enabled, loading new scripts in the Script Editor}} which contains a [[on START or on LOAD event will ask to execute these events.

Ask To Save Files

If enabled, AdiIRC will ask before closing a editor if there are unsaved changes.

Monitor File Changes.

if enabled, AdiIRC will monitor all loaded vars/users/menu/aliases/script files for file changes and ask for confirmation before reloading them.

Backup Files On Save

If enabled, AdiIRC will first write to a temporary file the copy the temporary file over the target file.

Indent Format On Exit

If enabled, AdiIRC will perform check bracket on the file when the edit is closed.

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)

This:

alias myalias {
command1
command2
if (1 == 1) {
command3
command4
}
}

becomes this:

alias myalias {
  command1
  command2
  if (1 == 1) {
    command3
    command4
  }
}

Updated by Per Amundsen over 3 years ago · 2 revisions

Also available in: PDF HTML TXT