Text::Editor::Vip::Buffer::Plugins::GetWord- Vip::Buffer pluggin
$buffer->Insert(' word1 word_2 3 word4') ; $buffer->SetModificationCharacter(1) ; is($buffer->GetCurrentWord() , 'word1', 'GetCurrentWord') ;
Plugin for Vip::Buffer.
Returns the regex set with SetAlphanumericFilter or the default regex qr![a-zA-Z_0-9]+!.
Sets the regex used by this plugin.
Returns the first word matching the word regex in the line passed as argument or the current modification line if none.
$buffer->GetFirstWord(125) ; $buffer->GetFirstWord() ; #in the current line
Returns the word( or undef if none found) and its position in the line.
Returns the previous word matching the word regex in the the current modification line if none. Returns the word( or undef if none found) and its position in the line.
Returns the word at the modification position or undef if no word is found.
Get all the characters matching the aphanumeric regex from the current position and backwards.
Get all the characters matching the aphanumeric regex from the current position.
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.
To install Text::Editor::Vip, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Editor::Vip
CPAN shell
perl -MCPAN -e shell install Text::Editor::Vip
For more information on module installation, please visit the detailed CPAN module installation guide.