Hello Vim developers, my plugins' automated test suite found another regression. When reformatting lines with gq{motion}, the start of change mark '[ does not point to the start of the first line [0, lnum, 1, 0] any more, but instead to after the end of the original first line [0, lnum, len(getline(lnum)) + 1, 0]. As gq processes entire lines, the start of the change should indeed be at column 1, as it used to.
This scriptlet shows the discrepancy: :call setline(1, ["\t\tO sodales, ludite, vos qui", "attamen consulite per voster honur. Tua pulchra facies me fay planszer milies"]) :1normal! gqj :echo getpos("'[") " Should yield [0, 1, 1, 0], but gives [0, 1, 29, 0]. Using the attached scriptlet, I've bisected this to the following patch: ,----[ bad change ]---- | 7.4.178 the J command does not update '[ and '] marks `---- I still see this in the latest 7.4.264 (HUGE build) on Linux/x64. -- regards, ingo -- -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ -- -- http://vim.sourceforge.net/account/profile.php?user_id=9713 -- -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
bug-gq-changecol.vim
Description: application/octetstream