From the new 3.x API, it looks like if the nodes in the tree changes (by adding / removing nodes), a new treeWalker is required, which will reset all state, including the existing openness of individual nodes. Is that right? Is there a way to preserve openness while mutating the tree?
From the new 3.x API, it looks like if the nodes in the tree changes (by adding / removing nodes), a new treeWalker is required, which will reset all state, including the existing openness of individual nodes. Is that right? Is there a way to preserve openness while mutating the tree?