image

Delimiters

image

You can enter, view, and select delimiters in pairs. Possible delimiter pairs include:

Delimiter Entry (Auto-Pairing)

Auto-pairing means that when you type the first of a pair of delimiters, the second delimiter is automatically typed for you.

When you type an opening delimiter with auto-pairing on, the second delimiter appears, and the insertion point is positioned between them, ready for you to type the delimited contents.

To pick an auto-pairing policy:

Auto-pairing is intelligent:

Delimiter Checking As You Type (Auto-hilite)

Auto-hilite means that when you type the second of a pair of delimiters, the first delimiter is momentarily highlighted. This confirms that you’re balancing delimiters as intended.

image

If there is no prior matching first delimiter, Script Debugger beeps. This alerts you that the closing delimiter is unbalanced.

To pick an auto-hilite policy:

Delimiter Selection (Balance)

Balance means that you select everything within a pair of delimiters. Script Debugger starts with the current selection or insertion point and looks outward until it reaches a pair of balanced delimiters. To balance:

To determine whether balancing should incorporate the delimiters themselves in the selection:

Balance considers a comment to be a delimited thing. If you choose Balance when the selection is within a single-line or multi-line comment, the comment will be selected.

Balance considers a block to be a delimited thing. If you choose Balance when the selection is within a code block, the block will be selected.

Balance repeatedly to keep selecting outwards.

Balance is the same feature used for block selection.



image
Block Structure Text Completion
image