Changeset 4199


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

storing plugin reference in dialog

Location:
trunk/Padre-Plugin-SpellCheck/lib/Padre/Plugin
Files:
2 edited

Legend:

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

    r4193 r4199  
    9797        engine => $engine, 
    9898        offset => $offset, 
     99        plugin => $self, 
    99100    ); 
    100101    $dialog->Show; 
  • trunk/Padre-Plugin-SpellCheck/lib/Padre/Plugin/SpellCheck/Dialog.pm

    r4190 r4199  
    1919    _list        => '_list',         # listbox listing the suggestions 
    2020    _offset      => '_offset',       # offset of _text within the editor 
     21    _plugin      => '_plugin',       # reference to spellcheck plugin 
    2122    _autoreplace => '_autoreplace',  # list of automatic replaces 
    2223    _sizer       => '_sizer',        # window sizer 
     
    4950    $self->_offset( $params{offset} ); 
    5051    $self->_text  ( $params{text}   ); 
     52    $self->_plugin( $params{plugin} ); 
    5153    $self->_autoreplace( {} ); 
    5254 
Note: See TracChangeset for help on using the changeset viewer.