Monday, August 15, 2011

Get selected line(s) using Perl

Hello,

based on the help topic *perl-overview*, $curbuf->Get($startline, $endline) can be used to retrieve arbitrary lines in the current buffer based on their absolute line numbers.

Is there a way to Get exactly those lines that have been selected by the user in the current buffer?

Or how should I run some vim-perl script code on those selected lines only?


Thanks,
Daniel

--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

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

No comments: