Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 232689b

Browse files
JohnnyNajeraterryjreedy
authored andcommitted
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
1 parent 2ad7651 commit 232689b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Lib/idlelib/NEWS.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Released on 2020-10-05?
33
======================================
44

55

6+
bpo-38944: Excape key now closes IDLE completion windows. Patch by
7+
Johnny Najera.
8+
69
bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra
710
newlines at the end of non-shell files.
811

Lib/idlelib/autocomplete_w.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# before the default specific IDLE function
1818
KEYPRESS_SEQUENCES = ("<Key>", "<Key-BackSpace>", "<Key-Return>", "<Key-Tab>",
1919
"<Key-Up>", "<Key-Down>", "<Key-Home>", "<Key-End>",
20-
"<Key-Prior>", "<Key-Next>")
20+
"<Key-Prior>", "<Key-Next>", "<Key-Escape>")
2121
KEYRELEASE_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keyrelease>>"
2222
KEYRELEASE_SEQUENCE = "<KeyRelease>"
2323
LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Excape key now closes IDLE completion windows. Patch by Johnny Najera.

0 commit comments

Comments
 (0)