Hi Nazri!

On So, 08 Mär 2015, Nazri Ramliy wrote:

> On Sun, Mar 8, 2015 at 4:59 AM, Christian Brabandt <[email protected]> wrote:
> > This only happens in vi mode (or more specifically, when cpo contains
> > the 'n' flag). Looks like Vim gets confused, because the first visible
> > screen line already shows the sbr string and that is not expected for a
> > screen row, that contains a line number.
> 
> Thanks for the explanation. So this bug is not really about rnu + show break.
> nu + nornu + showbreak + cpo+=n will also trigger it.

It seems harder than thought to fix it. I think in win_lbr_chartabsize() 
one needs to add an extra length of showbreak chars, but I am not sure 
when to do it. 

Also further testing shows, this seems only to happen, as long as the 
number column is smaller than the showbreak chars. I can't explain that.

Well, I'll try harder to fix it. 

Best,
Christian
-- 
Windows-User haben den Microsoft Internet Explorer verdient.

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