Changeset 5518


Ignore:
Timestamp:
06/23/09 20:39:04 (3 years ago)
Author:
azawawi
Message:

[Perl 6] Fixed a missing replacement

File:
1 edited

Legend:

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

    r5517 r5518  
    658658                        my $line_text  = $editor->GetTextRange($line_start, $line_end); 
    659659                        $line_text = "# ${line_text}"; 
     660                        $editor->SetSelection( $line_start, $line_end ); 
     661                        $editor->ReplaceSelection( $line_text ); 
    660662                    }, 
    661663                }; 
Note: See TracChangeset for help on using the changeset viewer.