On Mo, 25 Aug 2014, Bram Moolenaar wrote:

> 
> Christian Brabandt wrote:
> 
> > On Mo, 25 Aug 2014, Grüner Gimpel wrote:
> > 
> > > I noticed another issue concerning 'listchars' and 'linebreak', and
> > > it's also a regression bug from patch 353, but it isn't solved until
> > > now (version 7.4.417).
> > > 
> > > The issue is that under complicated circumstances, parts of a line 
> > > disappear.
> > > Steps to reproduce:
> > >   1. make sure your Vim is build with the conceal feature enabled
> > >   2. vim -u test_vimrc test_file
> > >   3. move the cursor up and down and notice that in the second line the 
> > > "bla" disappears when the cursor is in line 1
> > > 
> > > 
> > > The relevant files are here: 
> > > https://gist.github.com/EinfachToll/1868b299ce97af614729
> > 
> > Oh, I hadn't expected that touching the 'linebreak' code would
> > mess with concealing. Yeah, now I see the problem and I am actually 
> > surprised this didn't crash.
> > 
> > Thanks for the clear example. The attached patch should fix it
> > (and contains a test).
> 
> Thanks.
> 
> Note that I also fixed a problem in the linebreak test: It relied on the
> intialization being skipped.  The window width was set to 20, but the
> default minimal width is also 20.  Setting the minimal width to 10 fixed
> that.  Took me a long time to figure out the reason the new test was
> failing was because of the missing initialization.

You are talking about 'breakindent' here, while I was talking about 
'linebreak'

> Anyway, for those who keep statistics: Adding a new feature is bound to
> introduce a few bugs...

Yes, but I hope to fix them fast ,)

Best,
Christian
-- 
In jedem Mann steckt etwas Gutes. Und wenn es nur das Küchenmesser von
WMF ist.

-- 
-- 
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.

Raspunde prin e-mail lui