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

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'],
]);

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.

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

Hans Jeuken (haje@toneel.demon.nl)

Unknown