bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
(cherry picked from commit 232689b40d
)
Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
This commit is contained in:
parent
66d7a5d58a
commit
4e0e452dd0
|
@ -3,6 +3,9 @@ Released on 2019-12-16?
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
|
|
||||||
|
bpo-38944: Excape key now closes IDLE completion windows. Patch by
|
||||||
|
Johnny Najera.
|
||||||
|
|
||||||
bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra
|
bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra
|
||||||
newlines at the end of non-shell files.
|
newlines at the end of non-shell files.
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ KEYPRESS_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keypress>>"
|
||||||
# before the default specific IDLE function
|
# before the default specific IDLE function
|
||||||
KEYPRESS_SEQUENCES = ("<Key>", "<Key-BackSpace>", "<Key-Return>", "<Key-Tab>",
|
KEYPRESS_SEQUENCES = ("<Key>", "<Key-BackSpace>", "<Key-Return>", "<Key-Tab>",
|
||||||
"<Key-Up>", "<Key-Down>", "<Key-Home>", "<Key-End>",
|
"<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_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keyrelease>>"
|
||||||
KEYRELEASE_SEQUENCE = "<KeyRelease>"
|
KEYRELEASE_SEQUENCE = "<KeyRelease>"
|
||||||
LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>"
|
LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Excape key now closes IDLE completion windows. Patch by Johnny Najera.
|
Loading…
Reference in New Issue