Permalink
Browse files

Change advanced editor area tab switching shortcut to Ctrl+PgUp/Down.

This is a common shortcut used which works in many applications
such as google chrome and firefox.
  • Loading branch information...
1 parent 1127ad1 commit 12f4a5e4092d627c1bd2e877a7e33552d214a8ba @pankajp pankajp committed Feb 21, 2014
Showing with 1 addition and 4 deletions.
  1. +1 −4 pyface/ui/qt4/tasks/advanced_editor_area_pane.py
@@ -47,12 +47,9 @@ def create(self, parent):
if sys.platform == 'darwin':
next_seq = 'Ctrl+}'
prev_seq = 'Ctrl+{'
- elif sys.platform.startswith('linux'):
+ else:
next_seq = 'Ctrl+PgDown'
prev_seq = 'Ctrl+PgUp'
- else:
- next_seq = 'Alt+n'
- prev_seq = 'Alt+p'
shortcut = QtGui.QShortcut(QtGui.QKeySequence(next_seq), self.control)
shortcut.activated.connect(self._next_tab)
shortcut = QtGui.QShortcut(QtGui.QKeySequence(prev_seq), self.control)

0 comments on commit 12f4a5e

Please sign in to comment.