mirror of
https://github.com/python/cpython.git
synced 2025-11-12 15:09:14 +00:00
M Bindings.py
M EditorWindow.py
M PyShell.py
M config-keys.def
M configHandler.py
M help.txt
1. Annotate the shell window with last restart boundary upon restart.
2. Provide a shell menu entry and hot key (F6) to jump to the last
restart boundary.
3. Add a new shell menu feature to restart the shell.
4. Update the help menu to add these features.
5. Update the help menu to put text in same order as the menus.
6. Correct a capitalization inconsistency on the Edit menu: Expand Word
7. Rename the "Debug" menu to be "Shell": it's doing more now.
8. Rearrange the "Shell" menu to make the StackViewer entries adjacent.
9. Add a get_geometry method to EditorWindow, which may be of use in
making window positions persisent.
10. Make <ctrl-v> the "Classic Windows" paste key.
11. Restore decorum on the Help menu by removing "Advice". As Guido said,
things will never be the same. Thanks, David!
152 lines
5 KiB
Modula-2
152 lines
5 KiB
Modula-2
# IDLE reads several config files to determine user preferences. This
|
|
# file is the default config file for idle key binding settings.
|
|
# Where multiple keys are specified for an action: if they are separated
|
|
# by a space (eg. action=<key1> <key2>) then the keys are altenatives, if
|
|
# there is no space (eg. action=<key1><key2>) then the keys comprise a
|
|
# single 'emacs style' multi-keystoke binding. The tk event specifier 'Key'
|
|
# is used in all cases, for consistency in auto key conflict checking in the
|
|
# configuration gui.
|
|
|
|
[IDLE Classic Windows]
|
|
copy=<Control-Key-c>
|
|
cut=<Control-Key-x>
|
|
paste=<Control-Key-v>
|
|
beginning-of-line= <Key-Home>
|
|
center-insert=<Control-Key-l>
|
|
close-all-windows=<Control-Key-q>
|
|
close-window=<Alt-Key-F4>
|
|
do-nothing=<Control-Key-F12>
|
|
end-of-file=<Control-Key-d>
|
|
python-docs=<Key-F1>
|
|
python-context-help=<Shift-Key-F1>
|
|
history-next=<Alt-Key-n>
|
|
history-previous=<Alt-Key-p>
|
|
interrupt-execution=<Control-Key-c>
|
|
view-restart=<Key-F6>
|
|
open-class-browser=<Alt-Key-c>
|
|
open-module=<Alt-Key-m>
|
|
open-new-window=<Control-Key-n>
|
|
open-window-from-file=<Control-Key-o>
|
|
plain-newline-and-indent=<Control-Key-j>
|
|
print-window=<Control-Key-p>
|
|
redo=<Control-Shift-Key-z>
|
|
remove-selection=<Key-Escape>
|
|
save-copy-of-window-as-file=<Alt-Shift-Key-s>
|
|
save-window-as-file=<Control-Shift-Key-s>
|
|
save-window=<Control-Key-s>
|
|
select-all=<Control-Key-a>
|
|
toggle-auto-coloring=<Control-Key-slash>
|
|
undo=<Control-Key-z>
|
|
find=<Control-Key-f>
|
|
find-again=<Control-Key-g> <Key-F3>
|
|
find-in-files=<Alt-Key-F3>
|
|
find-selection=<Control-Key-F3>
|
|
replace=<Control-Key-h>
|
|
goto-line=<Alt-Key-g>
|
|
smart-backspace=<Key-BackSpace>
|
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
|
smart-indent=<Key-Tab>
|
|
indent-region=<Control-Key-bracketright>
|
|
dedent-region=<Control-Key-bracketleft>
|
|
comment-region=<Alt-Key-3>
|
|
uncomment-region=<Alt-Key-4>
|
|
tabify-region=<Alt-Key-5>
|
|
untabify-region=<Alt-Key-6>
|
|
toggle-tabs=<Alt-Key-t>
|
|
change-indentwidth=<Alt-Key-u>
|
|
|
|
[IDLE Classic Unix]
|
|
copy=<Alt-Key-w> <Meta-Key-w>
|
|
cut=<Control-Key-w>
|
|
paste=<Control-Key-y>
|
|
beginning-of-line=<Control-Key-a> <Key-Home>
|
|
center-insert=<Control-Key-l>
|
|
close-all-windows=<Control-Key-x><Control-Key-c>
|
|
close-window=<Control-Key-x><Control-Key-0>
|
|
do-nothing=<Control-Key-x>
|
|
end-of-file=<Control-Key-d>
|
|
history-next=<Alt-Key-n> <Meta-Key-n>
|
|
history-previous=<Alt-Key-p> <Meta-Key-p>
|
|
interrupt-execution=<Control-Key-c>
|
|
view-restart=<Key-F6>
|
|
open-class-browser=<Control-Key-x><Control-Key-b>
|
|
open-module=<Control-Key-x><Control-Key-m>
|
|
open-new-window=<Control-Key-x><Control-Key-n>
|
|
open-window-from-file=<Control-Key-x><Control-Key-f>
|
|
plain-newline-and-indent=<Control-Key-j>
|
|
print-window=<Control-x><Control-Key-p>
|
|
python-docs=<Control-Key-h>
|
|
python-context-help=<Control-Shift-Key-h>
|
|
redo=<Alt-Key-z> <Meta-Key-z>
|
|
remove-selection=<Key-Escape>
|
|
save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
|
|
save-window-as-file=<Control-Key-x><Control-Key-w>
|
|
save-window=<Control-Key-x><Control-Key-s>
|
|
select-all=<Alt-Key-a> <Meta-Key-a>
|
|
toggle-auto-coloring=<Control-Key-slash>
|
|
undo=<Control-Key-z>
|
|
find=<Control-Key-u><Control-Key-u><Control-Key-s>
|
|
find-again=<Control-Key-u><Control-Key-s>
|
|
find-in-files=<Alt-Key-s> <Meta-Key-s>
|
|
find-selection=<Control-Key-s>
|
|
replace=<Control-Key-r>
|
|
goto-line=<Alt-Key-g> <Meta-Key-g>
|
|
smart-backspace=<Key-BackSpace>
|
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
|
smart-indent=<Key-Tab>
|
|
indent-region=<Control-Key-bracketright>
|
|
dedent-region=<Control-Key-bracketleft>
|
|
comment-region=<Alt-Key-3>
|
|
uncomment-region=<Alt-Key-4>
|
|
tabify-region=<Alt-Key-5>
|
|
untabify-region=<Alt-Key-6>
|
|
toggle-tabs=<Alt-Key-t>
|
|
change-indentwidth=<Alt-Key-u>
|
|
|
|
[IDLE Classic Mac]
|
|
copy=<Command-Key-c>
|
|
cut=<Command-Key-x>
|
|
paste=<Command-Key-v>
|
|
beginning-of-line= <Key-Home>
|
|
center-insert=<Control-Key-l>
|
|
close-all-windows=<Command-Key-q>
|
|
close-window=<Command-Key-w>
|
|
do-nothing=<Control-Key-F12>
|
|
end-of-file=<Control-Key-d>
|
|
python-docs=<Key-F1>
|
|
python-context-help=<Shift-Key-F1>
|
|
history-next=<Control-Key-n>
|
|
history-previous=<Control-Key-p>
|
|
interrupt-execution=<Control-Key-c>
|
|
view-restart=<Key-F6>
|
|
open-class-browser=<Command-Key-b>
|
|
open-module=<Command-Key-m>
|
|
open-new-window=<Command-Key-n>
|
|
open-window-from-file=<Command-Key-o>
|
|
plain-newline-and-indent=<Control-Key-j>
|
|
print-window=<Command-Key-p>
|
|
redo=<Shift-Command-Key-z>
|
|
remove-selection=<Key-Escape>
|
|
save-window-as-file=<Shift-Command-Key-s>
|
|
save-window=<Command-Key-s>
|
|
save-copy-of-window-as-file=<Option-Command-Key-s>
|
|
select-all=<Command-Key-a>
|
|
toggle-auto-coloring=<Control-Key-slash>
|
|
undo=<Command-Key-z>
|
|
find=<Command-Key-f>
|
|
find-again=<Command-Key-g> <Key-F3>
|
|
find-in-files=<Command-Key-F3>
|
|
find-selection=<Shift-Command-Key-F3>
|
|
replace=<Command-Key-r>
|
|
goto-line=<Command-Key-j>
|
|
smart-backspace=<Key-BackSpace>
|
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
|
smart-indent=<Key-Tab>
|
|
indent-region=<Command-Key-bracketright>
|
|
dedent-region=<Command-Key-bracketleft>
|
|
comment-region=<Control-Key-3>
|
|
uncomment-region=<Control-Key-4>
|
|
tabify-region=<Control-Key-5>
|
|
untabify-region=<Control-Key-6>
|
|
toggle-tabs=<Control-Key-t>
|
|
change-indentwidth=<Control-Key-u>
|