Christian Brabandt wrote:

> On Di, 09 Dez 2014, cs86661 wrote:
> 
> > example:
> > 
> > 1. open test.c.
> > 
> > 2. change settings.
> > :set list
> > :set listchars=tab:\|-
> > :syntax match Conceal conceal cchar=> 'AB'
> > :set conceallevel=1
> > 
> > 3. problem setting, some chars disappeared ?!
> > :set lbr
> > 
> 
> > #include <stdio.h>
> > 
> > #define ABC         1
> > #define ABCD                1
> > #define ABCDE               1
> > 
> > #define AB_C        1
> > #define AB_CD       1
> > #define AB_CDE      1
> > 
> > int main()
> > {
> >   return 0;
> > }
> 
> Concealing, linebreak and listlbr features are getting considerably 
> complex. It is hard to understand what is going on.
> 
> I made a patch, that I think fixes this bug and includes a test as well, 
> but understanding that part of the line drawing code is quite complex. I 
> hope this doesn't cause any problems.

Thanks, I'll put it on the list.

Conceal has always been a bit problematic.  Linebreak isn't simple
either.  So yes, the combination is very complex.  And then we like to
keep it fast as well...

-- 
Back off man, I'm a scientist.
              -- Peter, Ghostbusters

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

Raspunde prin e-mail lui