diff options
author | wohlganger <charles.wohlganger@gmail.com> | 2017-09-10 21:19:47 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2017-09-10 21:19:47 (GMT) |
commit | 58fc71c447049d0efe4e11db1b55edc307f1bede (patch) | |
tree | 237891f31c741848809fa8dab7b6652849f37fa0 /Lib/idlelib/config-keys.def | |
parent | d39dbf4cf18488beb190ab358b7ab38792cd5043 (diff) | |
download | cpython-58fc71c447049d0efe4e11db1b55edc307f1bede.zip cpython-58fc71c447049d0efe4e11db1b55edc307f1bede.tar.gz cpython-58fc71c447049d0efe4e11db1b55edc307f1bede.tar.bz2 |
bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)
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.
Diffstat (limited to 'Lib/idlelib/config-keys.def')
-rw-r--r-- | Lib/idlelib/config-keys.def | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/Lib/idlelib/config-keys.def b/Lib/idlelib/config-keys.def index 64788f9..fd23519 100644 --- a/Lib/idlelib/config-keys.def +++ b/Lib/idlelib/config-keys.def @@ -57,6 +57,14 @@ toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> <Meta-Key-T> change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> <Meta-Key-U> del-word-left=<Control-Key-BackSpace> del-word-right=<Control-Key-Delete> +force-open-completions= <Control-Key-space> +expand-word= <Alt-Key-slash> +force-open-calltip= <Control-Key-backslash> +format-paragraph= <Alt-Key-q> +flash-paren= <Control-Key-0> +run-module= <Key-F5> +check-module= <Alt-Key-x> +zoom-height= <Alt-Key-2> [IDLE Classic Unix] copy=<Alt-Key-w> <Meta-Key-w> @@ -108,6 +116,14 @@ toggle-tabs=<Alt-Key-t> change-indentwidth=<Alt-Key-u> del-word-left=<Alt-Key-BackSpace> del-word-right=<Alt-Key-d> +force-open-completions= <Control-Key-space> +expand-word= <Alt-Key-slash> +force-open-calltip= <Control-Key-backslash> +format-paragraph= <Alt-Key-q> +flash-paren= <Control-Key-0> +run-module= <Key-F5> +check-module= <Alt-Key-x> +zoom-height= <Alt-Key-2> [IDLE Modern Unix] copy = <Control-Shift-Key-C> <Control-Key-Insert> @@ -159,6 +175,14 @@ toggle-tabs = <Control-Key-T> change-indentwidth = <Alt-Key-u> del-word-left = <Control-Key-BackSpace> del-word-right = <Control-Key-Delete> +force-open-completions= <Control-Key-space> +expand-word= <Alt-Key-slash> +force-open-calltip= <Control-Key-backslash> +format-paragraph= <Alt-Key-q> +flash-paren= <Control-Key-0> +run-module= <Key-F5> +check-module= <Alt-Key-x> +zoom-height= <Alt-Key-2> [IDLE Classic Mac] copy=<Command-Key-c> @@ -210,6 +234,14 @@ toggle-tabs=<Control-Key-t> change-indentwidth=<Control-Key-u> del-word-left=<Control-Key-BackSpace> del-word-right=<Control-Key-Delete> +force-open-completions= <Control-Key-space> +expand-word= <Option-Key-slash> +force-open-calltip= <Control-Key-backslash> +format-paragraph= <Option-Key-q> +flash-paren= <Control-Key-0> +run-module= <Key-F5> +check-module= <Option-Key-x> +zoom-height= <Option-Key-0> [IDLE Classic OSX] toggle-tabs = <Control-Key-t> @@ -262,4 +294,11 @@ python-context-help = <Shift-Key-F1> save-copy-of-window-as-file = <Option-Command-Key-s> open-window-from-file = <Command-Key-o> python-docs = <Key-F1> - +force-open-completions= <Control-Key-space> +expand-word= <Option-Key-slash> +force-open-calltip= <Control-Key-backslash> +format-paragraph= <Option-Key-q> +flash-paren= <Control-Key-0> +run-module= <Key-F5> +check-module= <Option-Key-x> +zoom-height= <Option-Key-0> |