dabo Commit
Revision 2202
Date: 2006-06-05 17:38:59 -0700 (Mon, 05 Jun 2006)
Author: ed
Changed:
U trunk/dabo/ui/uiwx/dShell.py
Log:
Added some settings to the shell to make it behave like the dEditor control.
Diff:
Modified: trunk/dabo/ui/uiwx/dShell.py
===================================================================
--- trunk/dabo/ui/uiwx/dShell.py 2006-06-05 20:26:19 UTC (rev 2201)
+++ trunk/dabo/ui/uiwx/dShell.py 2006-06-06 00:38:59 UTC (rev 2202)
@@ -45,6 +45,14 @@
cp.Sizer = dabo.ui.dSizer()
op.Sizer = dabo.ui.dSizer()
self.shell = wx.py.shell.Shell(self.CmdPanel)
+ # Configure the shell's behavior
+ self.shell.AutoCompSetIgnoreCase(True)
+ self.shell.AutoCompSetAutoHide(False) ## don't hide when the
typed string no longer matches
+ self.shell.AutoCompStops(" ") ## characters that will stop the
autocomplete
+ self.shell.AutoCompSetFillUps(".(")
+ # This lets you go all the way back to the '.' without losing
the AutoComplete
+ self.shell.AutoCompSetCancelAtStart(False)
+
cp.Sizer.append1x(self.shell)
self.shell.Bind(wx.EVT_RIGHT_UP, self.shellRight)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev