DOKK / manpages / debian 12 / libtk-codetext-perl / Tk::CodeText::Bash.3pm.en
CodeText::Bash(3pm) User Contributed Perl Documentation CodeText::Bash(3pm)

Tk::CodeText::Bash - a Plugin for HTML syntax highlighting

 require Tk::CodeText::Bash;
 my $sh = new Tk::CodeText::Bash( [
        ['Text'],
   ['Tag', -foreground => 'brown'],
   ['Attr', -foreground => 'darkblue'],
   ['Comment', -foreground => 'lightblue'],
   ['Value', -foreground => 'orange'],
   ['String', -foreground => 'red'],
   ['SpChar', -foreground => 'magenta'],
 ]);

Tk::CodeText::Bash is a plugin module that provides syntax highlighting for Bash 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