Changeset 2273


Ignore:
Timestamp:
12/30/08 05:32:39 (3 years ago)
Author:
szabgab
Message:

change lexer when moving between PPI syntax highlighting and Scintilla based syntax highlighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Menu/Perl.pm

    r2272 r2273  
    8787                next unless $doc->isa('Padre::Document::Perl'); 
    8888                if ( $config->{ppi_highlight} ) { 
     89                    $editor->SetLexer(Wx::wxSTC_LEX_CONTAINER); 
    8990                    $doc->colorize; 
    9091                } else { 
     92                    $editor->SetLexer(Wx::wxSTC_LEX_PERL); 
    9193                    $doc->remove_color; 
    9294                    $editor->Colourise( 0, $editor->GetLength ); 
Note: See TracChangeset for help on using the changeset viewer.