2022.2

Table Of Contents
Editor Options
The Script Editor is used to edit scripts used in Run Script tasks and the XSLT Editor is used to edit
scripts used in Open XSLT action tasks (see "Using Scripts" on page117 and "The Script Editor and
XSLT Editor" on page118).
There are a number of options for the editors, which you can set via the menu: Tools > Options, in the
editor. Most of the options listed below are valid for both editors. Those options which are only valid for
a specific editor are identified as such.
l
Editor
l
Auto indent mode: Select to automatically position the insertion pointer under the first
non-blank character of the preceding line when you press ENTER.
l
Insert mode: Select to use Insert mode and clear to use Overwrite mode. In Insert mode,
when you enter text, existing text shifts to accommodate it. In Overwrite mode, text you
enter overwrites existing text. You can also press INSERT to toggle between the two
modes.
l
Use tab character: Select to use the tab character instead of spaces to represent tabs in
the program file. Clear to use spaces to represent tabs. You must clear the Smart tab
option to use this option.
l
Smart tab: Select to use smart tabs. A smart tab advances with reference to the preceding
line. It advances to align with the first non-blank character it encounters on the preceding
line, from its current position forward. You must clear the Use tab character option to use
Smart tabs.
l
Optimal fill: Select to optimize the indent of every auto-indented line by minimizing the
number of space and/or tab characters it uses. You must select both Auto indent mode and
use tab character to use this option.
l
Backspace unindents: Select to move the insertion pointer to the previous indentation
level when you press BACKSPACE. This is useful when you enter a block of code such as
a for loop; you enter the for statement, advance one indentation level to enter the body of
the for loop, then press BACKSPACE to enter the end for statement. You must select Auto
indent mode to use this option.
l
Cursor through tabs: Select to move one by one through the spaces of tabs using the left
or right arrow keys. Clear to have the arrow keys treat the tab as a single character. You
must select Use tab character to use this option.
l
Group undo: Select to set the undo feature of the Editor to undo the last group of editing
commands entered. An editing command is defined as a mouse click, a press on ENTER,
Page 679