No idea... Monday I'll try it again and I'll post full version output. I'll
try Marcin patch too.


Il giorno ven 28 nov 2014 alle 22:14 Bram Moolenaar
[email protected]> ha scritto:


> Matteo Cavalleri wrote:
>
> > > This patch made a big change in how ranges are handled, thus it's
> > > possible that it introduced a bug.
> > >
> > > Can you reproduce it without any plugins?
> > > With a simple user command perhaps?
> >
> > create and source this file
> >
> > ------------------------
> > function! Test(f,l)
> >         echom a:f." - ".a:l
> > endfunction
> > command! -range=% RangeTest call Test(<line1>, <line2>)
> > ------------------------
> >
> > then select a couple of lines and do:
> >
> > :'<,'>RangeTest
> >
> > and you can see the error I reported, plus the result is always "1 - 5"
>
> It works fine for me.  Anything else that matters?
>
> --
> It might look like I'm doing nothing, but at the cellular level
> I'm really quite busy.
>
>  /// 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui