Tk::CodeText::Pod(3pm)

Tk::CodeText::Pod3pm

A plugin for syntax highlighting of pod files.

Usage

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

Overview

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'.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Hans Jeuken ([email protected])

Bugs

Unknown

From libtk-codetext-perl 0.3.4-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.