Vim::X::Range - A range of lines in a Vim buffer
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,
to value of the object will be updated in consequence.
Returns the range as a string.
Yanick Champoux <firstname.lastname@example.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.