Hi Benjamin!

On Do, 29 Jan 2015, Benjamin Fritz wrote:

> I know there have been recent problem with linebreak when combined with
> conceal, I think I have found one or two more.
> 
> With the attached test.vim file as a .vimrc, enter the following text:
> 
> bbeeeeee<tab><tab>;<tab>some text
> 
> The expected output is:
> 
> eeeeee<-<-;<some text
> 
> However, instead of that, I see only:
> 
> eeeeee<-
> 
> Removing the "set linebreak" line from test.vim shows:
> 
> eeeeee<---<-;<some text
> 
> Note there are extra '-' characters added for listchars, and they are the 
> wrong
> color.
> 
> Removing "set nowrap" (regardless of linebreak setting) shows:
> 
> eeeeee<---<-;<some text
> 
> Note that there are still extra '-' characters, but they are the correct color
> now, and the text is not improperly concealed.

I think the extra '-' need to be there because they need to adjust for 
the concealed chars. I also noted that when moving from the start of the 
first tab to the right using 'l' the cursor will stop within the first 
tab. That also looks wrong.

> I observed this issue in 64-bit gvim 7.4.608 HUGE and also 7.4.552 HUGE 
> running
> in Windows 7. I hoped that patches 579 or 587 would fix the issue, but
> apparently there are more problems remaining.

Looks like it. I'll look into fixing it, but that is complex.

Best,
Christian
-- 
Die einzige Art, gegen die Pest zu kämpfen, ist die Ehrlichkeit.
                -- Albert Camus

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