The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

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

SYNOPSIS

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'