Show More
@@ -325,17 +325,18 class ConsoleWidget(editwindow.EditWindow): | |||
|
325 | 325 | |
|
326 | 326 | Return True if event as been catched. |
|
327 | 327 | """ |
|
328 |
catched = |
|
|
328 | catched = True | |
|
329 | 329 | # Intercept some specific keys. |
|
330 | 330 | if event.KeyCode == ord('L') and event.ControlDown() : |
|
331 | catched = True | |
|
332 | 331 | self.scroll_to_bottom() |
|
332 | if event.KeyCode == ord('K') and event.ControlDown() : | |
|
333 | self.replace_current_edit_buffer('') | |
|
333 | 334 | elif event.KeyCode == wx.WXK_PAGEUP and event.ShiftDown(): |
|
334 | catched = True | |
|
335 | 335 | self.ScrollPages(-1) |
|
336 | 336 | elif event.KeyCode == wx.WXK_PAGEDOWN and event.ShiftDown(): |
|
337 | catched = True | |
|
338 | 337 | self.ScrollPages(1) |
|
338 | else: | |
|
339 | catched = False | |
|
339 | 340 | |
|
340 | 341 | if self.AutoCompActive(): |
|
341 | 342 | event.Skip() |
General Comments 0
You need to be logged in to leave comments.
Login now