Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.

Fixes problem with writing docstrings at lease twice indented.
This commit is contained in:
Terry Jan Reedy 2016-07-24 23:01:28 -04:00
parent 996d72bccf
commit c665dfd73e
3 changed files with 12 additions and 7 deletions

View file

@ -240,9 +240,8 @@ class AutoCompleteWindow:
acw.wm_geometry("+%d+%d" % (new_x, new_y))
def hide_event(self, event):
if not self.is_active():
return
self.hide_window()
if self.is_active():
self.hide_window()
def listselect_event(self, event):
if self.is_active():