Reply to message «Re: [BUG] Signs column is not displayed for diff filler 
lines», 
sent 23:17:51 05 June 2011, Sunday
by Bram Moolenaar:

> The diff filler means that this line doesn't exist in that buffer.
> There can't possibly be a sign there, so why do you expect the sign
> column to show up there?
Just for the same reason why I see number column there (though with no 
numbers). 
I think my screen shot is clear enough: here is
    FFSStext
    FF------
    FFSStext
(F is fold column, S is sign column)
If I enabled numbers it would be more clear:
    FFSSNNN text
    FF    ------
    FFSSNNN text
which I guess is really
    FFSSNNN text
    FFnnn ------
    FFSSNNN text
(where N is a digit and `n' is a space in place of absent digit).

Here is screenshot with numbers enabled:
http://img-fotki.yandex.ru/get/4705/kp-pav.1/0_695a2_66d73e36_orig.png

Original message:
> ZyX wrote:
> > Consider the following script:
> >     cat > missing-signcolumn.vim << EOF
> >     call setline('.', ['abc', 'def', 'ghi'])
> >     diffthis
> >     vnew
> >     call setline('.', ['abc', 'ghi'])
> >     sign define xxx text=EE
> >     sign place 1 line=1 name=xxx buffer=2
> >     diffthis
> >     EOF
> >     vim -u NONE -S missing-signcolumn.vim
> > 
> > It produces the following result:
> > http://img-fotki.yandex.ru/get/5608/kp-pav.1/0_69590_4e0c4429_orig.png.
> > Here you can see that diff filler line is missing signs column line.
> 
> The diff filler means that this line doesn't exist in that buffer.
> There can't possibly be a sign there, so why do you expect the sign
> column to show up there?
> 
> Perhaps a bigger screenshot shows it more clearly.

<<inline: screenshot-2011-06-05@00:24:35:598486908.png>>

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui