Vim::X::Range - A range of lines in a Vim buffer
version 1.2.0
Represents a range of lines in a buffer. Note that, just like for Vim::X::Line, the object stores the indexes of the range, so if the buffer after the object creation, it'll likely not operate on the expected lines. Caveat emptor and all that.
The first line of the range.
The last line of the range. If not given, defaults to the same line as 'from'.
Replaces the lines in the range with the provided new lines. If the new number of lines differs from the old one, the to value of the object will be updated in consequence.
to
Returns itself.
Returns the range as a string.
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2014 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Vim::X, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Vim::X
CPAN shell
perl -MCPAN -e shell install Vim::X
For more information on module installation, please visit the detailed CPAN module installation guide.