Changeset 5413


Ignore:
Timestamp:
06/20/09 06:17:58 (3 years ago)
Author:
azawawi
Message:

[Perl 6] Added a "fix POD" quick fix for "unmatched =begin/=end Pod pairs"

File:
1 edited

Legend:

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

    r5412 r5413  
    263263                $comment_error_action = 1; 
    264264             
    265             } elsif($issue_msg =~ /^Obsolete use of C++ constructor syntax/i) { 
     265            } elsif($issue_msg =~ /^Obsolete use of C\+\+ constructor syntax/i) { 
    266266 
    267267                Wx::Event::EVT_MENU( 
     
    270270                    sub {  
    271271                        #XXX-implement Use Perl 6 constructor syntax 
     272                    }, 
     273                ); 
     274                $comment_error_action = 1; 
     275             
     276            } elsif($issue_msg =~ /^\=begin\s+(.+?)\s+without matching \=end/i) { 
     277 
     278                Wx::Event::EVT_MENU( 
     279                    $main,  
     280                    $menu->Append( -1, Wx::gettext("Fix POD") ), 
     281                    sub {  
     282                        #XXX-implement Fix POD 
    272283                    }, 
    273284                ); 
Note: See TracChangeset for help on using the changeset viewer.