NAME
Padre::Plugin::SpellCheck::Dialog - Spell check dialog for Padre
VERSION
version 1.2
DESCRIPTION
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
SEE ALSO
For all related information (bug reporting, source code repository, etc.), refer to Padre::Plugin::SpellCheck.
AUTHORS
Fayland Lam <fayland at gmail.com>
Jerome Quelin <jquelin@gmail.com>
Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Fayland Lam, Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.