cappuccino/cappuccino — Issue #1425: CPOutlineView  expand all items
Author: BlairDuncan
Created: 2012-01-06 20:15:23+00:00
State: open

If the user holds down the option key while clicking the disclosure triangle, all of the items child items should be expanded or collapsed.

The fix is trivial for expanding.
- (void)_toggleFromDisclosureControl:(CPControl)aControl

the last line should be changed from:
[self expandItem:item];

to:
[self expandItem:item expandChildren:([[CPApp currentEvent] modifierFlags] & CPAlternateKeyMask)];

Collapsing is not as simple as there is no collapseItem: collapseChildren method ...