|
In a long script, it can be useful to view and edit more than one area of your script simultaneously. For this reason, Script Debugger lets you split the script window text area into multiple panes. You can split the text area vertically or horizontally — and you can split each resulting pane vertically or horizontally. Each pane can be scrolled to display a different region of the script. (But you’d probably never split a window into panes quite as insanely as in this picture!)
What should happen when you change a view setting (such as line wrapping or visibility of tab stops) in a split pane? Should other split panes change to match, or should their view settings remain independent? Script Debugger lets you decide. An Editor preference lets you set the base behavior:
Whichever way you choose, the Option key is a temporary toggle. Hold down the Option key as you change a view setting to make Script Debugger behave the opposite way from the base behavior preference. For example, if Synchronize split-view appearance is not checked, then if you hold down the Option key and change the line wrapping of a split pane (by clicking its wrap icon, or by choosing View > Wrap Lines), all split panes in this window will adopt the new line wrap setting.
|
|||||||||||||||||