{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/0fb6996b6b42b55c3aa7940696e78b30?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0fb6996b6b42b55c3aa7940696e78b30","url":"https://api.github.com/users/jnothstine","login":"jnothstine","id":779555},"milestone":null,"assignee":null,"labels":[{"name":"Need More Data ","color":"ededed","url":"https://api.github.com/repos/jaredpar/VsVim/labels/Need+More+Data+"}],"updated_at":"2011-10-28T20:14:58Z","comments":17,"closed_at":null,"url":"https://api.github.com/repos/jaredpar/VsVim/issues/672","body":"Each time I do undo, it undoes all my previous commands to some set point.  I haven't figured out what the catalist for that point is.  I can make a change, let's say on line 51, and then make 10 other changes in various places in my document.  Then, I hit \"u\" and all changes to the one on line 51 get undone.  I have to go and redo all those changes manually.  Then, I do a bunch more changes and accidently hit \"u\" again.  I consider it an accident because I know this happens, it is just a habit to use undo.  All my changes back to the original change on line 51 get undone.\r\n\r\nI just lost about 45 minutes of work because I hit \"u\" at the wrong time.  Unfortunately, I can't find a catalyst for the problem but it has happened to me twice tonight.\r\n\r\nI will try to add more information if I can find the cause.  For now, this is quite difficult to deal with because I am trying to not undo my changes for obvious reasons.","html_url":"https://github.com/jaredpar/VsVim/issues/672","number":672,"title":"Undo undoes last several commands","id":2041928,"created_at":"2011-10-25T06:39:27Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0fb6996b6b42b55c3aa7940696e78b30?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0fb6996b6b42b55c3aa7940696e78b30","url":"https://api.github.com/users/jnothstine","login":"jnothstine","id":779555},"updated_at":"2011-10-28T20:14:58Z","url":"https://api.github.com/repos/jaredpar/VsVim/issues/comments/2560631","body":"I will do anything to help.  I plan on spending some time this weekend to try to force the issue to happen.  I will make a bunch of changes and keep track of everything I do.  Hopefully, I will be able to create the problem.\r\n\r\n-----Original Message-----\r\nFrom: Jared Parsons [mailto:reply@reply.github.com] \r\nSent: Friday, October 28, 2011 2:11 PM\r\nTo: Jerry Nothstine\r\nSubject: Re: [VsVim] Undo undoes last several commands (#672)\r\n\r\nI'm sorry you're hitting this issue.  I'm definitely planning on spending some time this weekend to dig through the code and see if I can figure out what is going on.  I've already scanned through the changes I made for 1.1 and nothing seems like it could cause this behavior.  Going to have to start from the bottom and work my way out.  It's likely a bug that's been around for awhile that was simply exposed via some more recent changes.  \r\n\r\nIf I can't find anything and you are willing to try I'll make a private build which will essentially assert and dump some pertinent information should a single undo result in more than 2 or 3 Visual Studio undos.\r\n\r\n-- \r\nReply to this email directly or view it on GitHub:\r\nhttps://github.com/jaredpar/VsVim/issues/672#issuecomment-2560596\r\n\r\n","id":2560631,"created_at":"2011-10-28T20:14:58Z"}}