Christian Brabandt wrote: > On Di, 19 Aug 2014, Bram Moolenaar wrote: > > > Christian Brabandt wrote: > > > > > On Mo, 18 Aug 2014, Bram Moolenaar wrote: > > > > > > > Christian Brabandt wrote: > > > > > > > I have found a breakindent bug. > > > > > > It's actually not a breakindent bug. The breakindent feature just makes > > > it more apparent. I can reproduce the issue on a plain 7.4 version. > > > Looking at the mercurial repository, that particular code is present > > > since the beginning of version 7. So I suspect, even the first Vim 7 > > > also had the same problem. > > > > > > The problem is, the display is correct, but the underlying data is > > > wrong. > > > > > > Attached is a patch including a test. > > > > If it's not a breakindent bug, then why did you call the test > > test_breakindent_bug? If it is related to breakindent, perhaps we can > > add this to the existing test. It's faster to execute. > > I started writing the test, when I thought it would be related to the > breakindent. I did rename the file, but unfortunately, I sent an old > version. Here is the updated patch.
Thanks. Somehow for me appending _bug means you test for the bug to be present :-). We can just call it test_linebreak. Oh, and keep them in alphabetical order. I started doing that recently. -- It is hard to understand how a cemetery raised its burial cost and blamed it on the cost of living. /// 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.
