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

NAME

Tk::TextHighlight::Xresources - a Plugin for xresources files syntax highlighting

SYNOPSIS

require Tk::TextHighlight::Xresources;
my $sh = new Tk::TextHighlight::Xresources([
   ['Comment', -foreground => 'lightblue'],
   ['Path', -foreground => 'brown'],
   ['Command', -foreground => 'blue'],
   ['Separator', -foreground => 'darkblue'],
   ['Value', -foreground => 'orange'],
   ['False', -foreground => 'red'],
]);

DESCRIPTION

Tk::TextHighlight::Xresources is a plugin module that provides syntax highlighting for xresources files to a Tk::TextHighlight text widget.

It inherits Tk::TextHighlight::Template. See also there.

METHODS

highlight($string);

returns a list of string snippets and tags that can be inserted in a Tk::Text like widget instantly.

AUTHOR

Hans Jeuken (haje@toneel.demon.nl)

BUGS

Unknown

1 POD Error

The following errors were encountered while parsing the POD:

Around line 96:

You forgot a '=back' before '=head1'