Changeset 863


Ignore:
Timestamp:
11/09/08 21:05:42 (3 years ago)
Author:
fayland
Message:

fix a paste error when select something then paste ( part 2 )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Padre/Wx/Editor.pm

    r862 r863  
    508508        } 
    509509    } 
     510    $win->{notebook}->GetPage($id)->ReplaceSelection(''); 
    510511    my $pos = $win->{notebook}->GetPage($id)->GetCurrentPos; 
    511     $win->{notebook}->GetPage($id)->ReplaceSelection(''); 
    512512    $win->{notebook}->GetPage($id)->InsertText( $pos, $text ); 
    513513    $win->{notebook}->GetPage($id)->GotoPos( $pos + $length - 1 ); 
Note: See TracChangeset for help on using the changeset viewer.