On 2010-07-12, Gregor Uhlenheuer wrote:
> On 04/18/2010 12:44 PM, Gregor Uhlenheuer wrote:
> > On 04/11/2010 04:33 PM, Bram Moolenaar wrote:
> >>
> >> I will try to include a few patches that have been pending for a while.
> >> I don't have much time available, thus I will only include things that
> >> take a few hours of my time.  That basically means patches that are
> >> ready to be included.
> >>
> > 
> > Hi,
> > 
> > a few months ago I posted an updated patch for the margincolumn
> > feature that actually allows you to highlight a specified column (i.e.
> > to show the current buffer's textwidth). Since then I kept updating it
> > and use it without any problems.
> > 
> 
> Hi again,
> 
> since I am hoping that the 'margincolumn' feature will find its way
> into the oncoming vim 7.3 release I tried to extend the feature by
> allowing to define multiple columns to be highlighted.
> 
> As far as I could test the changes it works pretty well. A few notes
> regarding the implementation: The 'margincolumn' setting is now a
> string type setting used like this:
> 
> " highlight columns 20, 40 and textwidth+1
> :set mc=-1,20,40

I like the feature and hope it becomes part of 7.3, but being able
to highlight more than one column gives even more reason to call it
'guidecolumn' rather than 'margincolumn'.

I could see wanting a highlighted column at some distance to the
left of 'textwidth'.  Could the notation be changed so that -n means
"&tw-n", +n means "&tw+n" and 0 (maybe -0 or +0) means "&tw"?

Regards,
Gary

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