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
$textwithin 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
$enginebeing used (a"Padre::Plugin::SpellCheck::Engine"object).
Instance methods
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.