Changeset 11120 for trunk/Padre/lib/Padre/Document/Perl.pm
- Timestamp:
- 03/15/10 04:51:54 (2 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Document/Perl.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Document/Perl.pm
r11112 r11120 346 346 # Implemented as a task. See Padre::Task::SyntaxChecker::Perl 347 347 sub check_syntax { 348 shift->_check_syntax_internals( { @_, 349 background => 0 } ); 348 shift->_check_syntax_internals( 349 { @_, 350 background => 0 351 } 352 ); 350 353 } 351 354 352 355 sub check_syntax_in_background { 353 shift->_check_syntax_internals( { @_, 354 background => 1 } ); 356 shift->_check_syntax_internals( 357 { @_, 358 background => 1 359 } 360 ); 355 361 } 356 362 … … 1294 1300 my $first = $editor->PositionFromLine($line); 1295 1301 my $col = $pos - $first; 1296 my $text = $editor->GetTextRange( $first, $pos);1302 my $text = $editor->GetTextRange( $first, $pos ); 1297 1303 1298 1304 $editor->AddText( $self->newline ); … … 1301 1307 $editor->AddText($text); 1302 1308 1303 $editor->SetCurrentPos( $pos + $col + 1 );1309 $editor->SetCurrentPos( $pos + $col + 1 ); 1304 1310 1305 1311 return 1;
Note: See TracChangeset
for help on using the changeset viewer.
