[Python-checkins] python/dist/src/Lib/idlelib config-keys.def, 1.20, 1.21

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Tue Aug 17 10:01:59 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31936

Modified Files:
	config-keys.def 
Log Message:
SF bug #833957:  Ctrl+key combos stop working in IDLE

Make key combinations work with upper and lowercase as is the MS standard.



Index: config-keys.def
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/config-keys.def,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** config-keys.def	24 Nov 2003 05:26:16 -0000	1.20
--- config-keys.def	17 Aug 2004 08:01:19 -0000	1.21
***************
*** 2,6 ****
  # 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'
--- 2,6 ----
  # 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 alternatives, 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'
***************
*** 9,34 ****
  
  [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> <Meta-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> <Meta-Key-n>
  history-previous=<Alt-Key-p> <Meta-Key-p>
! interrupt-execution=<Control-Key-c>
  view-restart=<Key-F6>
  restart-shell=<Control-Key-F6>
! open-class-browser=<Alt-Key-c> <Meta-Key-c>
! open-module=<Alt-Key-m> <Meta-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>
--- 9,34 ----
  
  [IDLE Classic Windows]
! copy=<Control-Key-c> <Control-Key-C>
! cut=<Control-Key-x> <Control-Key-X>
! paste=<Control-Key-v> <Control-Key-V>
  beginning-of-line= <Key-Home>
! center-insert=<Control-Key-l> <Control-Key-L>
  close-all-windows=<Control-Key-q>
  close-window=<Alt-Key-F4> <Meta-Key-F4>
  do-nothing=<Control-Key-F12>
! end-of-file=<Control-Key-d> <Control-Key-D>
  python-docs=<Key-F1>
  python-context-help=<Shift-Key-F1>
  history-next=<Alt-Key-n> <Meta-Key-n>
  history-previous=<Alt-Key-p> <Meta-Key-p>
! interrupt-execution=<Control-Key-c> <Control-Key-C>
  view-restart=<Key-F6>
  restart-shell=<Control-Key-F6>
! open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C>
! open-module=<Alt-Key-m> <Meta-Key-m> <Alt-Key-M>
! open-new-window=<Control-Key-n> <Control-Key-N>
! open-window-from-file=<Control-Key-o> <Control-Key-O>
! plain-newline-and-indent=<Control-Key-j> <Control-Key-J>
! print-window=<Control-Key-p> <Control-Key-P>
  redo=<Control-Shift-Key-Z>
  remove-selection=<Key-Escape>
***************
*** 38,47 ****
  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> <Meta-Key-F3>
  find-selection=<Control-Key-F3>
! replace=<Control-Key-h>
  goto-line=<Alt-Key-g> <Meta-Key-g>
  smart-backspace=<Key-BackSpace>
--- 38,47 ----
  select-all=<Control-Key-a>
  toggle-auto-coloring=<Control-Key-slash>
! undo=<Control-Key-z> <Control-Key-Z>
! find=<Control-Key-f> <Control-Key-F>
  find-again=<Control-Key-g> <Key-F3>
  find-in-files=<Alt-Key-F3> <Meta-Key-F3>
  find-selection=<Control-Key-F3>
! replace=<Control-Key-h> <Control-Key-H>
  goto-line=<Alt-Key-g> <Meta-Key-g>
  smart-backspace=<Key-BackSpace>
***************
*** 54,59 ****
  tabify-region=<Alt-Key-5> <Meta-Key-5>
  untabify-region=<Alt-Key-6> <Meta-Key-6>
! toggle-tabs=<Alt-Key-t> <Meta-Key-t>
! change-indentwidth=<Alt-Key-u> <Meta-Key-u>
  
  [IDLE Classic Unix]
--- 54,59 ----
  tabify-region=<Alt-Key-5> <Meta-Key-5>
  untabify-region=<Alt-Key-6> <Meta-Key-6>
! toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T>
! change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U>
  
  [IDLE Classic Unix]



More information about the Python-checkins mailing list