Jim Turner > Tk-TextHighlight-1.0.5 > Tk::TextHighlight::Pod

Download:
Tk-TextHighlight-1.0.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.2   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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

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

AUTHOR ^

Hans Jeuken (haje@toneel.demon.nl)

BUGS ^

Unknown

syntax highlighting: