نديم ابن ﺤﻣﻮﺪﺓ الخمير - Nadim Khemir > Text-Editor-Vip > Text::Editor::Vip::Buffer::Plugins::Case

Download:
Text-Editor-Vip-0.08.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

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.

syntax highlighting: