Changeset 9630
- Timestamp:
- 12/12/09 05:39:29 (2 years ago)
- Location:
- trunk/Padre/lib/Padre
- Files:
-
- 3 edited
-
Document/Perl.pm (modified) (1 diff)
-
Wx/Editor.pm (modified) (3 diffs)
-
Wx/Main.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Document/Perl.pm
r9600 r9630 1336 1336 1337 1337 my $key = $event->GetUnicodeKey; 1338 1338 1339 1339 my $pos = $editor->GetCurrentPos; 1340 1340 my $line = $editor->LineFromPosition($pos); -
trunk/Padre/lib/Padre/Wx/Editor.pm
r9624 r9630 91 91 # Setup EVT_KEY_UP for smart highlighting and non-destructive CTRL-L 92 92 Wx::Event::EVT_KEY_UP( $self, \&on_key_up ); 93 93 94 94 if ( $config->editor_wordwrap ) { 95 95 $self->SetWrapMode(Wx::wxSTC_WRAP_WORD); … … 208 208 $self->CmdKeyExecute(Wx::wxSTC_CMD_LINEDELETE); 209 209 } 210 $event->Skip(0); # done processing this nothing more to do 210 211 return; 211 212 } … … 217 218 218 219 $self->main->key_up($event); 219 220 220 } 221 221 -
trunk/Padre/lib/Padre/Wx/Main.pm
r9629 r9630 5171 5171 my $code = $event->GetKeyCode; 5172 5172 5173 5173 5174 # Remove the bit ( Wx::wxMOD_META) set by Num Lock being pressed on Linux 5174 5175 # () needed after the constants as they are functions in Perl and … … 5207 5208 # } 5208 5209 } 5209 $event->Skip ;5210 $event->Skip(0); 5210 5211 return; 5211 5212 }
Note: See TracChangeset
for help on using the changeset viewer.
