rmaksim / Sublime-Text-2-Inc-Dec-Value

increase / decrease of numbers, dates, hex color values, etc.
153 stars 18 forks source link

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

Closed kizu closed 12 years ago

kizu commented 12 years ago

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 :)