Padre::Task::PPI::FindUnmatchedBrace.3pm

Langue: en

Version: 2009-03-29 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Padre::Task::PPI::FindUnmatchedBrace - PPI-based unmatched-brace-finder

SYNOPSIS

   my $bracefinder = Padre::Task::PPI::FindUnmatchedBrace->new(
           document => $document_obj,
   );
   # pass "text => 'foo'" if you want to set the code manually
   # otherwise, the current document will be used
   
   $bracefinder->schedule();
 
 

DESCRIPTION

Finds the location of unmatched braces in a "Padre::Document::Perl". If there is no unmatched brace, a message box tells the user about that glorious fact. If there is one, the cursor will jump to it.

SEE ALSO

This class inherits from "Padre::Task::PPI".

AUTHOR

Steffen Mueller "smueller@cpan.org" Copyright 2008-2009 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.