Author: bugman Date: Fri Aug 5 18:51:24 2011 New Revision: 14190 URL: http://svn.gna.org/viewcvs/relax?rev=14190&view=rev Log: Caret and scolling movement keys are re-enabled in the relax controller log control. Modified: branches/gui_testing/gui/controller.py Modified: branches/gui_testing/gui/controller.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/controller.py?rev=14190&r1=14189&r2=14190&view=diff ============================================================================== --- branches/gui_testing/gui/controller.py (original) +++ branches/gui_testing/gui/controller.py Fri Aug 5 18:51:24 2011 @@ -553,6 +553,14 @@ elif 'darwin' not in sys.platform and event.GetKeyCode() == 342: self.find_next(event) + # Allow caret movements (arrow keys, home, end). + if event.GetKeyCode() in [312, 313, 314, 315, 316, 317]: + event.Skip() + + # Allow scrolling (pg up, pg dn): + if event.GetKeyCode() in [366, 367]: + event.Skip() + def find(self, event): """Find the text in the log control.