Am 20.11.2012 17:46, schrieb Ingo Karkat:
I also stumbled over this behaviour in my csv plugin. I think this is
documented somewhere, but can't find it currently.

It is not (yet) documented at :help a:firstline, and "the function is expected
to take care of a range itself"

Please, no un-feature requests.
   :h :call

,----
| Call a function.  The name of the function and its arguments
| are as specified with |:function|.  Up to 20 arguments can be
| used.  The returned value is discarded.
| Without a range and for functions that accept a range, the
| function is called once.  When a range is given the cursor is
| positioned at the start of the first line before executing the
| function.
| When a range is given and the function doesn't handle it
| itself, the function is executed for each line in the range,
| with the cursor in the first column of that line.  The cursor
| is left at the last line (possibly moved by the last function
| call).  The arguments are re-evaluated for each line.  Thus
| this works:
`----

--
Andy

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