Changeset 4196


Ignore:
Timestamp:
04/28/09 08:43:15 (3 years ago)
Author:
jquelin
Message:

setting dictionary according to preferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre-Plugin-SpellCheck/lib/Padre/Plugin/SpellCheck/Engine.pm

    r4192 r4196  
    3333    # create speller object 
    3434    my $speller = Text::Aspell->new; 
     35    my $config  = $plugin->config; 
    3536    # TODO: configurable later 
    3637    $speller->set_option('sug-mode', 'fast'); 
    37     $speller->set_option('lang','en_US'); 
     38    $speller->set_option('lang', $config->{dictionary}); 
    3839    $self->_speller( $speller ); 
    3940 
Note: See TracChangeset for help on using the changeset viewer.