sourCEntral - mobile manpages

pdf

Padre::Plugin::SpellCheck

NAME

Padre::Plugin::SpellCheck − check spelling in Padre

SYNOPSIS

    $ padre file−with−spell−errors
    F7

DESCRIPTION

This plugins allows one to checking her text spelling within Padre using "F7" (standard spelling shortcut accross text processors). One can change the dictionary language used in the preferences window (menu Plugins / SpellCheck / Preferences).

This plugin is using "Text::Aspell" underneath, so check this module’s pod for more information.

Of course, you need to have the aspell binary and dictionnary installed.

PUBLIC METHODS

Standard Padre::Plugin API
"Padre::Plugin::SpellCheck"
defines a plugin which follows "Padre::Plugin" API . Refer to this module’s documentation for more information.

The following methods are implemented:
menu_plugins_simple()
padre_interfaces()
plugin_icon()
plugin_locale_directory()
plugin_name()

Spell checking methods

config()

Return the plugin’s configuration, or a suitable default one if none exist previously.

spell_check()

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

spell_preferences()

Open the check spelling preferences window.

BUGS

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 "Wx::StyledTextCtrl" that has some unicode problems... So unfortunately, there’s nothing that I can do in this plugin to tackle this bug.

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

SEE ALSO

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

Our svn repository is located at "/svn.perlide.org/padre/trunk/Padre−Plugin− SpellCheck" in http:, and can be browsed at "/padre.perlide.org/browser/trunk/Padre−Plugin− SpellCheck" in http:.

You can also look for information on this module at:

AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Padre−Plugin−SpellCheck>

CPAN Ratings

<http://cpanratings.perl.org/d/Padre−Plugin−SpellCheck>

Open bugs

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Padre−Plugin−SpellCheck>

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

AUTHOR

Jerome Quelin, "<jquelin AT cpan DOT org>"

Original version from Fayland Lam, "<fayland at gmail.com>"

COPYRIGHT & LICENSE

Copyright (c) 2009 Fayland Lam, all rights reserved.

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.

pdf