You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several changes here:
- Simplify UncollapseAll; it's much too much work to iterate over files and call
ExpandToPath for each one. We simply need to clear our container of collapsed
paths.
- For CollapseAll, move the code that gets all dirPaths from the controller to
the tree; I don't really see a reason why the controller should get the paths
and pass them in
- Maintain the selection when collapsing or expanding all. For collapsing, we
keep the top-level item selected that the previously selected node was a child
of; for expanding, it's always possible to keep the item itself selected.
0 commit comments