Hi Bram, On Sun, Dec 1, 2019 at 9:17 AM Bram Moolenaar <[email protected]> wrote: > > > Yegappan wrote: > > > In the PR 5296, I have added some tests for the register related > > functionality. One of the test fails in the normal build but passes > > in the huge build. The test is below: > > > > new > > let @" = 'xyz' > > set virtualedit=all > > call append(0, "a\tb") > > call cursor(1, 2, 6) > > normal p > > call assert_equal("a\txyzb", getline(1)) > > > > It looks like in the normal build, the tab character is expanded > > when the text is pasted. But this doesn't happen in the huge build. > > > > Is this a bug or am I missing something? > > > > The passing huge build log is at: > > > > https://travis-ci.org/vim/vim/jobs/619155561 > > > > The failing normal build log is at: > > > > https://travis-ci.org/vim/vim/jobs/619155568 > > > > The PR is at: > > > > https://github.com/vim/vim/pull/5296 > > It's because of the vartabs feature, it computes the tabstop position > correctly. Code is in do_put(), at line 1679. > > I managed to fix the code, I'll include the tests then. >
Thanks for fixing it. Regards, 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/CAAW7x7kQ0X957ntL5E8w_hVHYtRFV4-%2B5MA_-xeW7qmGXKG_uw%40mail.gmail.com.
