Pankaj Garg wrote:
> On Apr 15, 10:17 am, _Lone <[email protected]> wrote: > > On Wed, Apr 15, 2009 at 10:16 AM, _Lone <[email protected]> wrote: > > > > > 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. > > > > Attached is the patch file. > > > > guidecolumn.patch > > 15KViewDownload- Hide quoted text - > > > > - Show quoted text - > > Can one of the maintainer of the VIM please review this patch and let > me know the feedback and whether this can be accepted or not? Once > this is accepted, I would work on changing it for the GUI but I want > that to be a different patch (as that is sort of like enhancements). It's in my todo list. That list is very long though... -- DEAD PERSON: I'm getting better! CUSTOMER: No, you're not -- you'll be stone dead in a moment. MORTICIAN: Oh, I can't take him like that -- it's against regulations. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
