Script Editor Icon

Setting the way lines wrap

You can set the way lines are wrapped in the Editing pane of Script Editor preferences.

With automatic line wrapping selected, you can write script statements of any length, and they will be wrapped to fit the size of the script window.

To set how lines wrap in a script:

Step 1

In Script Editor, choose Script Editor > Preferences.

Step 2

Click Editing.

Step 3

To enable automatic line wrapping, select “Wrap lines” from the Line Wrap section.

Step 4

To indent the wrapped line, select “Indent wrapped lines by,” and enter the number of spaces to indent.

Related Topics

preferences

formatting scripts