logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Hans Jeuken (haje@toneel.demon.nl)

Bugs

       Unknown

perl v5.40.1                                       2025-05-04                                CodeText::Bash(3pm)

Description

       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.

Name

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

Synopsis

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

See Also