Padre::Plugin::SpellCheck::Dialog − dialog for padre spell check
This module implements the dialog window that will be used to interact with the user when mistakes have been spotted.
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).
For all related information (bug reporting, source code repository, etc.), refer to Padre::Plugin::SpellCheck.
Jerome Quelin, "<jquelin AT cpan DOT org>"
Copyright (c) 2009 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.