Christian Brabandt wrote: > Bram, > attached patch implements undo when doing :s/.../.../gc > > This has been requested recently in > https://groups.google.com/group/vim_dev/msg/9930ef0f86421814 > > And I think, I saw a request like this on the sf.net bug tracker, but I > can't find it right now. Additionally, I also added using Ctrl-L for > redrawing the screen as I found this useful.
Yeah, this is useful. But also tricky, if the undo is done wrong then the text may get messed up. Can you think of situations where something could go wrong? And it would be nice to have tests for that. -- Dreams are free, but there's a small charge for alterations. /// 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
