Currently, when there is a click in the AST Viewer, the associated location in the code is selected.
This issue is about the reverse. When there is a change in selection in the code editor, the AST Viewer should update its selection.
There should be an option to disconnect changing the editor selection and updating the tree.