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::Pod - a Plugin for syntax highlighting of pod files.

Author

       Hans Jeuken (haje@toneel.demon.nl)

Bugs

       Unknown

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

Description

       Tk::CodeText::Pod is a  plugin module that provides syntax highlighting for pod files to a Tk::CodeText
       text widget.

       It inherits Tk::CodeText::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.

       syntax
           returns 'Pod'.

Name

       Tk::CodeText::Pod - a Plugin for syntax highlighting of pod files.

Synopsis

        require Tk::CodeText::Pod;
        my $sh = new Tk::CodeText::Pod([
           ['Text'],
           ['Bold', -font => [-weight => 'bold']],
           ['Italic', -font => [-slant => 'italic']],
           ['Exact', -foreground => 'brown'],
           ['Command', -foreground => 'orange'],
           ['Space', -background => 'beige'],
           ['Tab', -background => 'pale green'],
        ]);

See Also