نديم ابن ﺤﻣﻮﺪﺓ الخمير - Nadim Khemir
and 1 contributors

GetSelection

Returns the selection object used by the buffer.

SetSelection

Sets the selection object passed as argument to use by the buffer

GetSelectionBoundaries

Returns the selection boundaries used by the buffer.

SetSelectionBoundaries

Sets the selection boundaries use by the buffer

Returns the selection contents joined with "\n" except for the last line

DeleteSelection

Removes the text within the selection, if any, from the buffer. Sets the modification position to the start of the selection

RunSubOnSelection

Runs a user supplied sub on the selection. The sub is called for each line in the selection. It can return a string or undef if the section is to be removed.

BoxSelection

Puts the selection boundaries within the buffer boundaries and returns the new selection boundaries.

Doesn't change the selection if it is empty. See SelectAll.

NAME

Text::Editor::Vip::Buffer::Selection - Selection handling for buffer

SYNOPSIS

  use Text::Editor::Vip::Buffer::Selection
  

DESCRIPTION

Plugin for Vip::Buffer. It handles Selection.

USAGE

BUGS

SUPPORT

AUTHOR

        Khemir Nadim ibn Hamouda
        CPAN ID: NKH
        mailto:nadim@khemir.net
        http:// no web site

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.