On Apr 14, 10:29 pm, Matt Wozniski <[email protected]> wrote:
> On Wed, Apr 15, 2009 at 1:18 AM, Dennis Benzinger
>
> <[email protected]> wrote:
>
> > Hi!
>
> > Am 14.04.2009 23:18, _Lone schrieb:
> >> To set 'guidecolumn' you can do
> >> :set guidecolumn=N
> >> where N is the column. If N is 0 then guidecolumn is turned off. It is
> >> highly unlikely that a user would want the guidecolumn at column 0 but
> >> the syntax seems odd so let me know if you think there can be a better
> >> way to do this.
> >> [...]
>
> > Why don't you use -1 (or every negative number) to turn off the guide
> > column?
>
> Or use <= 0 for off and 1 for the first column... which is more
> consistent with how commands like g<C-g> and such show things...
>
> ~Matt
I changed the behavior to make guidecolumn 1-based instead of 0-based,
added checks to make sure it is set to 0+ value and 0 turns it off.
Also added help text in options.txt. Google groups does not allow me
to attach files so I would do a separate reply from gmail with the
patch file.
Please let me know if this looks good and can be incorporated in VIM.
Thanks
_Lone.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---