| CodeText::Xresources(3pm) | User Contributed Perl Documentation | CodeText::Xresources(3pm) |
Tk::CodeText::Xresources - a Plugin for xresources files syntax highlighting
require Tk::CodeText::Xresources;
my $sh = new Tk::CodeText::Xresources([
['Comment', -foreground => 'lightblue'],
['Path', -foreground => 'brown'],
['Command', -foreground => 'blue'],
['Separator', -foreground => 'darkblue'],
['Value', -foreground => 'orange'],
['False', -foreground => 'red'],
]);
Tk::CodeText::Xresources is a plugin module that provides syntax highlighting for xresources files to a Tk::CodeText text widget.
It inherits Tk::CodeText::Template. See also there.
Hans Jeuken (haje@toneel.demon.nl)
Unknown
| 2023-01-03 | perl v5.36.0 |