adobe/brackets — pull request #4258 by njx (2013-06-18 01:06:24+00:00)
Title: Use open_node events instead of reopen to determine when a set of nodes has been fully reopened

Originally, we were relying on getting a `reopen` event every time a set of nodes was reopened. That event doesn't seem to wait for the given nodes to actually open asynchronously. So, instead, we wait for callbacks from all the `open_node` events for each node we want to open, and then proceed with the next set of nodes only when the nodes one level up have actually all opened.