tree-edit
tree-edit copied to clipboard
Jumping to nodes with the same start range
Currently attempting to avy jump to a call in Python in the following scenario will only yield one choice, due to the node layout:
[[foo()].baz()]
This is because the avy jump is based on the start point of node range. How can we address this?
Switch to the end point of the node.
This could work, but has two issues:
- When do we decide if we should use the end node? If the no. unique start points < no. unique end points?
- Behavior needs to not be surprising to users. Could be mitigated with a
(message "Start points are not unique, ...")