Padre::Plugin::SpellCheck::Dialog(3pm)

Padre::Plugin::SpellCheck::Dialog3pm

Dialog for padre spell check

Overview

This module implements the dialog window that will be used to interact with the user when mistakes have been spotted.

Public methods

Constructor

my $dialog = PPS::Dialog->new( %params );

Create and return a new dialog window. The following params are needed:

text => $text

The text being spell checked.

offset => $offset

The offset of $text within the editor. 0 if spell checking the whole file.

error => [ $word, $pos ]

The first spotted error, on $word (at position $pos), with some associated $suggestions (a list reference).

engine => $engine

The $engine being used (a "Padre::Plugin::SpellCheck::Engine" object).

Instance methods

Author

Jerome Quelin, "<[email protected]>"

From libpadre-plugin-spellcheck-perl 1.1.2-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.