Changeset 4193


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

new method config()

File:
1 edited

Legend:

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

    r4191 r4193  
    6262 
    6363# -- public methods 
     64 
     65sub config { 
     66    my ($self) = @_; 
     67    my $config = { 
     68        dictionary => 'en_US', 
     69    }; 
     70    return $self->config_read || $config; 
     71} 
    6472 
    6573sub spell_check { 
     
    170178=over 4 
    171179 
     180=item * config() 
     181 
     182Return the plugin's configuration, or a suitable default one if none 
     183exist previously. 
     184 
    172185=item * spell_check() 
    173186 
Note: See TracChangeset for help on using the changeset viewer.