]> granicus.if.org Git - python/commit
[3.6] bpo-27099: IDLE - Convert built-in extensions to regular features (GH-2494...
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 11 Sep 2017 00:30:46 +0000 (20:30 -0400)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 00:30:46 +0000 (20:30 -0400)
commitd6c397bf772a8f17e00afc5e0a2cf37fdebcdf29
tree69079c5b189dbc750d6bfa5ddcf489f15508c619
parent28580316a57d1757978196c27286f989d21ec0f3
[3.6] bpo-27099: IDLE - Convert built-in extensions to regular features (GH-2494) (#3487)

About 10 IDLE features were implemented as supposedly optional
extensions.  Their different behavior could be confusing or worse for
users and not good for maintenance.  Hence the conversion.

The main difference for users is that user configurable key bindings
for builtin features are now handled uniformly.  Now, editing a binding
in a keyset only affects its value in the keyset.  All bindings are
defined together in the system-specific default keysets in config-
extensions.def.  All custom keysets are saved as a whole in config-
extension.cfg.  All take effect as soon as one clicks Apply or Ok.

The affected events are '<<force-open-completions>>', '<<expand-word>>',
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'.  Any
(global) customizations made before 3.6.3 will not affect their keyset-
specific customization after 3.6.3. and vice versa.

Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
(cherry picked from commit 58fc71c)
21 files changed:
Doc/library/idle.rst
Lib/idlelib/autocomplete.py
Lib/idlelib/autoexpand.py
Lib/idlelib/calltips.py
Lib/idlelib/codecontext.py
Lib/idlelib/config-extensions.def
Lib/idlelib/config-keys.def
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_configdialog.py
Lib/idlelib/mainmenu.py
Lib/idlelib/outwin.py
Lib/idlelib/paragraph.py
Lib/idlelib/parenmatch.py
Lib/idlelib/rstrip.py
Lib/idlelib/runscript.py
Lib/idlelib/zoomheight.py
Lib/idlelib/zzdummy.py [new file with mode: 0644]
Misc/NEWS.d/next/IDLE/2017-08-24-13-48-16.bpo-27099.rENefC.rst [new file with mode: 0644]