Enabling or Disabling Automatic Indentation in the Script Editors
InstallShield 2024
InstallShield lets you specify whether you want to use automatic indentation in the script editors when you are writing code. Auto indentation may help improve readability.
If automatic indentation is enabled, InstallShield indents a new line according to the indentation that is used in the previous line. When you press ENTER in the script editor pane, the insertion point appears on a new line, positioned directly beneath the first character of the previous line. To stop indenting a new line, press BACKSPACE; doing so removes the indentation.
If automatic indention is disabled, a new line is not indented—that is, the insertion point is placed in the first column of the new line.
Tip:Note that the script editor properties are global per-user settings that affect all InstallShield script editors. For example, the same automatic indentation setting is used for all script editors. If you change the setting in the SQL Scripts view, the settings are also changed in the InstallScript view the next time that the InstallScript is reloaded in that view.
To specify whether automatic indentation should be enabled in the script editors:
1. | Right-click in the script editor pane and click Properties. The Script Editor Properties dialog box opens. |
2. | In the Automatic indentation setting, select the appropriate option: |
• | Yes—InstallShield adds support for automatic indentation in all of the script editors. This is the default option. |
• | No—InstallShield does not use automatic indentation in any of the script editors. |
3. | Click OK. The Script Editor Properties dialog box closes. |
InstallShield enables or disables automatic indentation in the script editors as needed.
See Also