![](https://help.apple.com/assets/615655F2F0B3FD3A163BD000/615655F3F0B3FD3A163BD007/en_US/38c73aa786484e6ecb62265ed0b27864.png)
Set line wrapping in Script Editor on Mac
Automatic line wrapping lets you write script statements of any length that wrap to fit the size of the script window.
In the Script Editor app
on your Mac, choose Script Editor > Preferences, then click Editing.
To enable automatic line wrapping, select “Wrap lines to editor width.”
To indent the wrapped line, select “Indent wrapped lines by,” then enter the number of spaces to indent.