fix for 'clicking on overlay does nothing' #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm assuming that this is what the readme text means when it says
"Clicking on overlay does nothing".
I assume that clicking on a marker (i.e. a colored paren) should move the cursor there.
This commit fix this so that it does move the cursor there.
My only concern is that there are quite a few listeners added in to the mix.
Basically one for each marker.
Don't merge this in yet please. Just let me know if this is the correct behaviour.