NAME

Padre::Plugin::SpellCheck::Dialog - dialog for padre spell check

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.

AUTHOR

Jerome Quelin, <jquelin@cpan.org>

COPYRIGHT & LICENSE

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.