Tony Mechelynck wrote:
> On 18/08/08 01:47, Charles E. Campbell, Jr. wrote:
>
> I was trying to make a "relative numbers" plugin for those who didn't
> want-to/feel-up-to/don't-know-about/don't-know-where-to-get the relative
> numbers patch.  I was planning on doing so with signs ... but apparently
> the "text=" argument to signs doesn't accept digits.  According to the
> documentation, the text should be any printable characters, which
> numbers certainly qualify as, but I get E239s (Invalid sign text: ...).
>
> Seems that either there's a bug fix or a document update needed.
>
> Regards,
> Chip Campbell
>   
>
> Works for me:
>
>       :sign define 12 text=12
>       :exe "sign place 12 line=" . line('.') "name=12"
>               \ "file=" . expand('%:p')
>       :sign place
>       :sign unplace 12
>       :sign list
>       :sign undefine 12
>
> What text did you use? According to the help, it must occupy one or two 
> character cells, so if you use numbers they can range between -9 and 99
>   
OK, I figured out my various blunders!  Thanks, Tony!

Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui