From: Patrick K. O'Brien Date: Mon, 9 Feb 2004 02:53:13 +0000 (+0000) Subject: shell.autoCompleteAutoHide added with default of True. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d351525a9b21807a04810c96d24c657a857be830 shell.autoCompleteAutoHide added with default of True. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/CHANGES.txt b/wxPython/wx/py/CHANGES.txt index eed5b74fee..27a65f22fd 100644 --- a/wxPython/wx/py/CHANGES.txt +++ b/wxPython/wx/py/CHANGES.txt @@ -9,6 +9,8 @@ Removed docs tabs from crust interface: Fixed Calltip tab refresh problem on Windows. +shell.autoCompleteAutoHide added with default of True. + 0.9.3 (9/25/2003 to 1/24/2004) ------------------------------ diff --git a/wxPython/wx/py/editwindow.py b/wxPython/wx/py/editwindow.py index cc62b12488..1d44f1d863 100644 --- a/wxPython/wx/py/editwindow.py +++ b/wxPython/wx/py/editwindow.py @@ -87,7 +87,8 @@ class EditWindow(stc.StyledTextCtrl): self.autoCompleteIncludeDouble = True self.autoCompleteCaseInsensitive = True self.AutoCompSetIgnoreCase(self.autoCompleteCaseInsensitive) - self.AutoCompSetAutoHide(False) + self.autoCompleteAutoHide = True + self.AutoCompSetAutoHide(self.autoCompleteAutoHide) self.AutoCompStops(' .,;:([)]}\'"\\<>%^&+-=*/|`') # Do we want to automatically pop up command argument help? self.autoCallTip = True diff --git a/wxPython/wx/py/shell.py b/wxPython/wx/py/shell.py index 5c343c6b77..722b59649a 100644 --- a/wxPython/wx/py/shell.py +++ b/wxPython/wx/py/shell.py @@ -151,6 +151,7 @@ Ctrl+= Default font size. 'ask', 'autoCallTip', 'autoComplete', + 'autoCompleteAutoHide', 'autoCompleteCaseInsensitive', 'autoCompleteIncludeDouble', 'autoCompleteIncludeMagic', @@ -822,6 +823,8 @@ Platform: %s""" % \ def autoCompleteShow(self, command): """Display auto-completion popup list.""" + self.AutoCompSetAutoHide(self.autoCompleteAutoHide) + self.AutoCompSetIgnoreCase(self.autoCompleteCaseInsensitive) list = self.interp.getAutoCompleteList(command, includeMagic=self.autoCompleteIncludeMagic, includeSingle=self.autoCompleteIncludeSingle,