bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)

This commit is contained in:
JohnnyNajera 2019-12-10 01:22:16 +02:00 committed by Terry Jan Reedy
parent 2ad7651c00
commit 232689b40d
3 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,9 @@ Released on 2020-10-05?
======================================
bpo-38944: Excape key now closes IDLE completion windows. Patch by
Johnny Najera.
bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra
newlines at the end of non-shell files.

View File

@ -17,7 +17,7 @@ KEYPRESS_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keypress>>"
# before the default specific IDLE function
KEYPRESS_SEQUENCES = ("<Key>", "<Key-BackSpace>", "<Key-Return>", "<Key-Tab>",
"<Key-Up>", "<Key-Down>", "<Key-Home>", "<Key-End>",
"<Key-Prior>", "<Key-Next>")
"<Key-Prior>", "<Key-Next>", "<Key-Escape>")
KEYRELEASE_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keyrelease>>"
KEYRELEASE_SEQUENCE = "<KeyRelease>"
LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>"

View File

@ -0,0 +1 @@
Excape key now closes IDLE completion windows. Patch by Johnny Najera.