Enabling or Disabling Syntax Folding in the Script Editors

InstallShield 2024

InstallShield lets you specify whether you want the script editors in various views in InstallShield to include support for syntax folding. When syntax folding is enabled, InstallShield adds a plus sign (+) or a minus sign (–) in the margin next to each line of code that starts an expandable or collapsible block of script. You can click a plus sign to expand hidden code, or a minus sign to hide code.

Syntax folding can help you minimize the clutter of large scripts and focus on the code that is relevant to the work that you are currently doing. It can also help you see the overall structure of a script.

Tip:Note that the script editor properties are global per-user settings that affect all InstallShield script editors. For example, the same syntax folding setting is used for all script editors. If you change the setting in the SQL Scripts view, the setting is also changed in the InstallScript view the next time that the InstallScript is reloaded in that view.

To specify whether syntax folding 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 Syntax folding setting, select the appropriate option:
YesInstallShield uses the syntax folding in all of the script editors.
NoInstallShield does not use any syntax folding in any of the script editors. This is the default option.
3. Click OK. The Script Editor Properties dialog box closes.

InstallShield enables or disables syntax folding in the script editors as needed.

See Also