Right-clicking on selected text in the Script Editor provides the following Advanced options:
Expand All
(Appears only if JSL code folding is on.) Expands all blocks of code.
Collapse All
(Appears only if JSL code folding is on.) Collapses all blocks of code.
Comment Block
Makes the selected text comments.
Uncomment Block
Uncomments the selected comments.
Make Uppercase
Changes all selected text to uppercase.
Make Lowercase
Changes all selected text to lowercase.