Script Editor

The Script Editor enables you to write ProcScript and JavaScript that controls the behavior of the component.

The Script Editor contains:

  • Structure pane—shows the object structure. Use this pane to navigate to objects whose code you want to edit.
  • Code Editor—enables you to edit ProcScript modules of the selected object.

It is possible to open a second Script Editor so that you can view and edit the code of two modules or two objects at the same time.

Tip: By default, the Code Editor shows line numbers, but this can be disabled, which can improve performance when a code container has a large amount of code. See Configure Indentation and Line Numbering in the Script Editor.

Editing

You can use Ctrl+Z and Ctrl+Y to undo and redo edits. Each editor has its own Undo/Redo stack.

You can get help with the parameters of ProcScript functions as you enter code. this is automatically displayed when you type the opening parenthesis.

Parameter help

Note:  This type of help is not yet available for ProcScript statements.