dabo Commit 4313

View: New views
1 Messages — Rating Filter:   Alert me  

dabo Commit 4313

by Ed Leafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

dabo Commit
Revision 4313
Date: 2008-07-22 17:32:42 -0700 (Tue, 22 Jul 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4313

Changed:
U   trunk/dabo/ui/uiwx/dShell.py

Log:
Changed the key binding for the history search to be Ctrl-R on all platforms. On the Mac, Cmd-R is the 'Redo' command, and anyways, the Mac Terminal works just like Linux terminals, in that Ctrl-R is what is used to bring up command history searching.


Diff:
Modified: trunk/dabo/ui/uiwx/dShell.py
===================================================================
--- trunk/dabo/ui/uiwx/dShell.py 2008-07-23 00:18:01 UTC (rev 4312)
+++ trunk/dabo/ui/uiwx/dShell.py 2008-07-23 00:32:42 UTC (rev 4313)
@@ -328,13 +328,9 @@
 
  cp.Sizer.append1x(self.shell)
  self.shell.Bind(wx.EVT_RIGHT_UP, self.shellRight)
+ # Bring up history search
+ self.bindKey("Ctrl+R", self.onHistoryPop)
 
- if self.Application.Platform == "Mac":
- keybnd = "cmd+R"
- else:
- keybnd = "ctrl+R"
- self.bindKey(keybnd, self.onHistoryPop)
-
  # Restore the history
  self.restoreHistory()
 




_______________________________________________
Post Messages to: Dabo-dev@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/20080723003242.C129A3182C8@...