Christian Brabandt wrote: > On Mi, 12 Mär 2014, Bram Moolenaar wrote: > > > > Christian Brabandt wrote: > > > > > Bram, > > > > > > On Fr, 07 Mär 2014, Christian Brabandt wrote: > > > [new :undorecover command] > > > > > > Attached is a new patch. It works by restoring each line to the last > > > known state, which means, the recovered buffer might be inconsistent, > > > since you basically end up with a mix of undo states. > > > > > > Secondly, on any undofile that was written with a non-patched Vim, it > > > will probably only restore the buffer partly. From the undofile of my > > > .vimrc (currently containing 402 lines with many lines empty or > > > commented out) I could recover 50 lines (with about 450 empty lines in > > > between). > > > > > > Therefore this patch makes Vim store one complete buffer content in the > > > undofile, so recovery will be more useful. > > > > Thanks. I'll have a look at it later. > > Updated patch attached (adjusted for patch 7.4.399).
Thanks! -- hundred-and-one symptoms of being an internet addict: 29. Your phone bill comes to your doorstep in a box. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
