| Text-Editor-Vip documentation | view source | Contained in the Text-Editor-Vip distribution. |
Makes the current selection upper case.
Makes the current selection lower case.
Text::Editor::Vip::Buffer::Plugins::Case - Plugin to make selection upper or lower case.
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') ;
Plugin to make selection upper or lower case
Khemir Nadim ibn Hamouda CPAN ID: NKH mailto:nadim@khemir.net http:// no web site
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.
| Text-Editor-Vip documentation | view source | Contained in the Text-Editor-Vip distribution. |