mailr15716 - /1.3/gui/controller.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 16, 2012 - 00:11:
Author: bugman
Date: Mon Apr 16 00:11:09 2012
New Revision: 15716

URL: http://svn.gna.org/viewcvs/relax?rev=15716&view=rev
Log:
The relax controller now accepts Ctrl-A to select all text.


Modified:
    1.3/gui/controller.py

Modified: 1.3/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/controller.py?rev=15716&r1=15715&r2=15716&view=diff
==============================================================================
--- 1.3/gui/controller.py (original)
+++ 1.3/gui/controller.py Mon Apr 16 00:11:09 2012
@@ -636,6 +636,10 @@
         if event.ControlDown() and event.GetKeyCode() == 70:
             self.find_open(event)
 
+        # Select all (Ctrl-A). 
+        if event.ControlDown() and event.GetKeyCode() == 65:
+            event.Skip()
+
         # Find next (Ctrl-G on Mac OS X, F3 on all others).
         if 'darwin' in sys.platform and event.ControlDown() and 
event.GetKeyCode() == 71:
             self.find_next(event)




Related Messages


Powered by MHonArc, Updated Mon Apr 16 00:20:02 2012