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

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

Projects
None yet
2 participants
Contributor

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

Merge pull request #14 from kizu/master
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