Christian Brabandt wrote:

> On Di, 11 Jan 2011, Christian Brabandt wrote:
> > On Tue, January 11, 2011 5:25 pm, Ben Fritz wrote:
> > > On Jan 10, 10:25 am, AK <[email protected]> wrote:
> > >> I suspect this isn't possible in current vim but I'm wondering if it's
> > possible to add this to the next version.. Currently, if you have a
> > marks column and a folded line, marks column is blocked and overwritten
> > with a blank background of folded column.
> > >> When you have many folded functions or classes, that looks really ugly.
> > I think majority of people would prefer either to have contents of mark
> > of 1st folded line there or at least blank space of the same colour of
> > marks column.
> > >
> > > What is the "marks column"? Is it some plugin you have installed? And
> > can you post a screenshot? I really am having trouble picturing what you
> > are describing.
> > 
> > I think, if you have defined a sign in a line and this line is folded away
> > the sign won't be shown. I can reproduce it here.
> > 
> > I would consider this a bug, therefore forwarding to vim-dev.
> 
> I think, the attached patch fixes it.

I finally had time to look into this.  Sorry for the delay.

I think the current behavior is correct.  Showing a sign only when it
happens to be on the first line of a closed fold doesn't seem right.
Why not show a sign on the second line or last line of the fold?

Since we don't show signs for the folded region, I think it's good to
also use the closed-fold color in the sign column.

-- 
If Microsoft would build a car...
... Occasionally, executing a maneuver such as a left turn
would cause your car to shut down and refuse to restart, in
which case you would have to reinstall the engine.

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

Raspunde prin e-mail lui