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

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

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

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.

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

Hans Jeuken (haje@toneel.demon.nl)

Unknown

2023-01-03 perl v5.36.0