mkremins / flense

Edit trees, not text
MIT License
101 stars 3 forks source link

Click to navigate #23

Closed mkremins closed 10 years ago

mkremins commented 10 years ago

Ideally, it'd be possible to navigate to a form by clicking on its representation in the editor view. The main obstacle here is the fact that individual parse-tree nodes presently have no way of knowing where they are in the tree: the :path that would give a particular node focus cannot be derived from the node itself.

It might be possible to modify the zipper API itself in such a way that each node knows its own :path at all times. An experimental branch of xyzzy could be created to try this out.