tests
do not use print for output but some Vip error or login func
Text::Editor::Vip::Color::Color - Manipulates color files
Loads color definition files.
This function evaluate, possibly multiple, perl files containing one of the following:
color and color class definitions
color, color class and keywords color definitions
Color, color classes and keyword colors are defined as hash references.
my $colors = { # color name color default_fg => 'black' # forward declaration , default_bg => 'white' , margin => [235, 235, 235] # RGB components , dark_red => [110, 0, 0] } ; my $color_class = { # colors must be defined (possibly in another file) # class color tuple default => ['default_bg','default_fg'] , selection => ['dark_blue', 'white'] , DynaLoader => ['red', 'yellow'] } ; my $keyword_color_class = { # keyword color class DynaLoader =>'DynaLoader', , carp =>'Carp', } ; # return the color data to Vip return ($color, $color_class, $keyword_color_class) ;
GetKeywordColors uses named arguments:
COLORS, a list of files to load (color, color class)
COLORS_AND_KEYWORDS, a list of files to load (color, color class, keywords)
KEYWORDS, a list of files to load (keywords)
USE_X_COLORS, uses Graphics::ColorNames to define standard names.Spaces are replaced with '_'.
MAPPING, transform color classes (only PANGO supported)
Nadim iibn Hamouda El Khemir <nadim@khemir.net>
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.
perl(1).
1 POD Error
The following errors were encountered while parsing the POD:
Unknown directive: =TODO
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.