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

Save the position of the cursors/selections on the change #14

Merged
merged 1 commit into from
Oct 19, 2012

Conversation

kizu
Copy link
Contributor

@kizu kizu commented Oct 18, 2012

Right now when we change something, the cursor position jumps to the end of the changed entity.

I fixed it, so it would stay where it needs to, so no more jumping and more intuitive behavior.

Tested it on multiple carets, selection, and the mix of them — works perfectly.

The only downside is that the gifs in the readme would still show the incorrect behavior :)

rmaksim added a commit that referenced this pull request Oct 19, 2012
Save the position of the cursors/selections on the change
@rmaksim rmaksim merged commit 63b8e47 into rmaksim:master Oct 19, 2012
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