Navigation: Menu Commands > Text View Menu
The Toggle All Folds command toggles the active document between two states: (i) all nodes expanded, and (ii) all nodes collapsed.