Hi Bram, On Wed, Jun 9, 2021 at 3:34 AM Bram Moolenaar <[email protected]> wrote: > > OK, I can reproduce it now. It's because the cursor is positioned > further down in the file and then recovering deletes lines. > > It's easy to fix, but reproducing the problem is complicated. It should > be possible to simplify though, knowing how it happens (when reading the > file an autocommand moves the cursor to the last used position). >
Thanks for the hint. I have added a test for this bug and created a PR. - Yegappan -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7mt1JXp-m_B%3DyQduug7G2n9FGJeDw4SgzZJgn%2BgYUU14A%40mail.gmail.com.
