Parent page: TextEdit Commands
The following pre-packaged resource, derived from this base command, is available:
Collapse All
Applied Parameters: None
Summary
This command is used to collapse all code outline blocks in the current document.
Access
Right-click and choose Outlining » Collapse All from the context menu.
Use
After launching the command, all code outline blocks in the document will be collapsed, leaving just the top statement in each case.
When collapsed, a control appears to the right of the top statement for each code block. Hovering the mouse over this will reveal the code that has been collapsed. Double-clicking on this control will expand that individual code block.
Tips
- To expand/collapse an individual code block, simply click on the small or control, to the left of the top statement in the block.
- The use of code outlining, including an option to display the collapse lines - the extent of an individual code block - is enabled/disabled from the Text Editors - Display page of the Preferences dialog.