expandAll command

Use the expandAll command to set the expanded parameter for every element in the document view.  It will also set the topExpanded parameter for the current document view.

 

Syntax

expandAll [ on | off ] 

 

Parameters

on Use the on parameter to set the expanded parameter to on for every element in the document view.  This will also set the topExpanded parameter to on.
off Use the off parameter to set the expanded parameter to off for every element in the document view.  This will also set the topExpanded parameter to off.

 

Status

The status parameter is not affected by this command.

 

Description

If you do not specify any parameters, on is assumed.

When you have hidden elements in the document view, they can be forced visible by setting expanded or topExpanded to on.  Issuing expandAll on forces all of the hidden elements in the view to become visible.  Issuing expandAll off allows all of the hidden elements in the document view to remain hidden.

 

Examples

expandAll on
expandAll off 

Related concepts
Editor commands, actions, and parameters

Related reference
findText command
excludedClasses parameter
expandHide parameter
expanded parameter
forceAllVisible parameter
forceVisible parameter
includedClasses parameter
markExcluded parameter
markIncluded parameter
topExpanded parameter
visible parameter
filterSelection action
Default editor commands