Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not move cursor with emit or capture #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

snoe
Copy link

@snoe snoe commented Apr 16, 2015

PR for half of #10.

This change maintains cursor position if a bracket happens to move the current character.

It also maintains cursor position from undos after capture or emit except for something I was unable to solve: capture-head on a top level form and undoing will move the cursor to the head of the list.

Cheers

@elmehalawi
Copy link

Is there any chance of this being merged? This is a huge improvement to the default behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants