Changeset 5382
- Timestamp:
- 06/19/09 22:53:20 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-Perl6/lib/Padre/Plugin/Perl6/Preferences.pm
r5381 r5382 60 60 # update configuration 61 61 my $old_p6_highlight = $prefs->{p6_highlight}; 62 my $old_colorizer = $prefs->{colorizer}; 62 63 $prefs->{p6_highlight} = $self->_colorizer_cb->GetValue(); 63 64 $prefs->{colorizer} = ($self->_colorizer_list->GetSelection() == 0) ? … … 67 68 $plugin->config_write($prefs); 68 69 69 if($old_p6_highlight != $prefs->{p6_highlight}) { 70 $plugin->highlight; 70 if($old_p6_highlight != $prefs->{p6_highlight} || $old_colorizer ne $prefs->{colorizer}) { 71 # a configuration change for colorizer 72 if( $prefs->{p6_highlight} ) { 73 $plugin->highlight; 74 } 71 75 } 72 76
Note: See TracChangeset
for help on using the changeset viewer.
