no, that's window position, not buffer line

i have an ugly workaround:  in viml before the perl i let lno = line('.')

then inside the perl i use $l = VIM::Eval(lno);

On Fri, May 10, 2019 at 1:29 AM Tekki <te...@tekki.ch> wrote:
>
> Am Donnerstag, 9. Mai 2019 21:37:04 UTC+2 schrieb toothpik:
> > there is no $curbuf->Line() function
>
> Try $curwin->Cursor(): "With no arguments, returns a (row, col) array for the 
> current cursor position in the Window."
>
> --
> --
> You received this message from the "vim_use" 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_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to vim_use+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/vim_use/8bc56581-1312-4bf0-b403-426ffa0da1ab%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CALfSX1zFnUxVewUpiLRDTBwcq1sXotuZ%2BPAu_hCwnP87EiZfeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to