The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

MakeSelectionUpperCase

Makes the current selection upper case.

MakeSelectionLowerCase

Makes the current selection lower case.

NAME

Text::Editor::Vip::Buffer::Plugins::Case - Plugin to make selection upper or lower case.

SYNOPSIS

  use Text::Editor::Vip::Buffer ;
  
  my $buffer = new Text::Editor::Vip::Buffer() ;
  $buffer->LoadAndExpandWith('Text::Editor::Vip::Buffer::Plugins::Case') ;
  
  $buffer->Insert("this is upper case") ;
  $buffer->GetSelection()->Set(0, 8, 0, 13) ;
  $buffer->MakeSelectionUpperCase() ;
  
  is($buffer->GetText(), 'this is UPPER case', 'Upper casing selection') ;

DESCRIPTION

Plugin to make selection upper or lower case

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.