VERSION

version: 1.32

DESCRIPTION

For Padre 0.98

This plug-in allows one to check there spelling within Padre using \*(C`F7\*(C' (standard spelling short-cut across text processors).

One can change the dictionary language used (based upon install languages) in the preferences window via Plug-in Manager. Note that preferences can only be setup while the plugin is disabled. Preferences are persistent. You need to Save your preferred language.

This plug-in is using \*(C`Text::Aspell\*(C' default (legacy). You can also use \*(C`Text::Hunspell\*(C', so check these module's pod for more information and install the one for you.

Of course, you need to have the relevant Dictionary binary, dev and dictionary installed.

SYNOPSIS

    Check your file or selected text for spelling errors in your preferred language.
    F7

PUBLIC METHODS

Standard Padre::Plugin \s-1API\s0

\*(C`Padre::Plugin::SpellCheck\*(C' defines a plug-in which follows \*(C`Padre::Plugin\*(C' \s-1API\s0. Refer to this module's documentation for more information.

The following methods are implemented:

clean_dialog()
menu_plugins()
padre_interfaces()
plugin_disable()
plugin_enable()

Return the plug-in's configuration, or a suitable default one if none exist previously.

plugin_name()
plugin_preferences()

Spelling preferences window normally access via Plug-in Manager

plugin_icon()

Used by Plug-in Manager

event_on_context_menu

Add access to spelling preferences window.

Spell checking methods

  • spell_check() Spell checks the current selection (or the whole document).

BUGS and LIMITATIONS

If you upgrade your \s-1OS\s0, and run Perl from a local/lib, you may find Hunspell stops showing local dictionary in preferences, you will need to un-install Text::Hunspell and re-install in \s-1CPAN\s0.

Spell-checking non-ascii files has bugs: the selection does not match the word boundaries, and as the spell checks moves further in the document, offsets are totally irrelevant. This is a bug in \*(C`Wx::StyledTextCtrl\*(C' that has some Unicode problems... So unfortunately, there's nothing that I can do in this plug-in to tackle this bug.

Please report any bugs or feature requests to \*(C`padre-plugin-spellcheck at rt.cpan.org\*(C', or through the web interface at \*(L"/rt.cpan.org/NoAuth/ReportBug.html?Queue=Padre-Plugin- SpellCheck\*(R" in http:. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

RELATED TO Padre::Plugin::SpellCheck…

Plug-in icon courtesy of Mark James, at <http://www.famfamfam.com/lab/icons/silk/>.

  • Padre-Plugin-SpellCheck web page <http://padre.perlide.org/trac/wiki/PadrePluginSpellCheck>

  • Our svn repository http://svn.perlide.org/padre/trunk/Padre-Plugin-SpellCheck <http://svn.perlide.org/padre/trunk/Padre-Plugin-SpellCheck>, and can be browsed at http://padre.perlide.org/browser/trunk/Padre-Plugin-SpellCheck <http://padre.perlide.org/browser/trunk/Padre-Plugin-SpellCheck>.

You can also look for information on this module at:

  • AnnoCPAN: Annotated \s-1CPAN\s0 documentation http://annocpan.org/dist/Padre-Plugin-SpellCheck <http://annocpan.org/dist/Padre-Plugin-SpellCheck>

  • \s-1CPAN\s0 Ratings http://cpanratings.perl.org/d/Padre-Plugin-SpellCheck <http://cpanratings.perl.org/d/Padre-Plugin-SpellCheck>

  • Open bugs http://rt.cpan.org/NoAuth/Bugs.html?Dist=Padre-Plugin-SpellCheck <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Padre-Plugin-SpellCheck>

Everything Aspell related: <http://aspell.net>.

Everything Hunspell related: <http://hunspell.sourceforge.net/>.

AUTHORS

Kevin Dawson <[email protected]>

Ahmad M. Zawawi <[email protected]>

Fayland Lam <fayland at gmail.com>

Jerome Quelin <[email protected]>

COPYRIGHT

This software is Copyright X 2010 by Fayland Lam, Jerome Quelin. Also Copyright X 2012-2013 \s-1AUTHORS\s0 and \*(L"\s-1CONTRIBUTORS\s0\*(R" as listed above.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.