mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
996d72bccf
commit
c665dfd73e
3 changed files with 12 additions and 7 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue