[Idle-dev] CVS: idle Bindings.py,1.9,1.10 configHandler.py,1.22,1.23 config-main.def,1.11,1.12 config-keys.def,1.9,1.10

Stephen M. Gava elguavas@users.sourceforge.net
Mon, 10 Jun 2002 21:45:38 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv17259

Modified Files:
	Bindings.py configHandler.py config-main.def config-keys.def 
Log Message:
add a version of GvR's q&d python idle printing patch, 
slightly tweaked and modified for the idlefork config system


Index: Bindings.py
===================================================================
RCS file: /cvsroot/idlefork/idle/Bindings.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Bindings.py	18 Feb 2002 01:45:43 -0000	1.9
--- Bindings.py	11 Jun 2002 04:45:32 -0000	1.10
***************
*** 31,34 ****
--- 31,36 ----
     ('Save Co_py As...', '<<save-copy-of-window-as-file>>'),
     None,
+    ('_Print window', '<<print-window>>'),
+    None,
     ('_Close', '<<close-window>>'),
     ('E_xit', '<<close-all-windows>>'),

Index: configHandler.py
===================================================================
RCS file: /cvsroot/idlefork/idle/configHandler.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** configHandler.py	2 Mar 2002 07:12:54 -0000	1.22
--- configHandler.py	11 Jun 2002 04:45:32 -0000	1.23
***************
*** 508,511 ****
--- 508,512 ----
              '<<open-window-from-file>>': ['<Control-o>'],
              '<<plain-newline-and-indent>>': ['<Control-j>'],
+             '<<print-window>>': ['<Control-p>'],
              '<<redo>>': ['<Control-y>'],
              '<<remove-selection>>': ['<Escape>'],

Index: config-main.def
===================================================================
RCS file: /cvsroot/idlefork/idle/config-main.def,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** config-main.def	27 Mar 2002 02:25:44 -0000	1.11
--- config-main.def	11 Jun 2002 04:45:33 -0000	1.12
***************
*** 29,32 ****
--- 29,34 ----
  [General]
  editor-on-startup= 1
+ print-command-posix=lpr %s
+ print-command-win=start /min notepad /p %s
  
  [EditorWindow]

Index: config-keys.def
===================================================================
RCS file: /cvsroot/idlefork/idle/config-keys.def,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** config-keys.def	27 Mar 2002 02:25:44 -0000	1.9
--- config-keys.def	11 Jun 2002 04:45:34 -0000	1.10
***************
*** 27,30 ****
--- 27,31 ----
  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>
***************
*** 32,36 ****
  save-window-as-file=<Control-Shift-Key-s>
  save-window=<Control-Key-s>
! select-all=<Alt-Key-a>
  toggle-auto-coloring=<Control-Key-slash>
  undo=<Control-Key-z>
--- 33,37 ----
  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>
***************
*** 60,63 ****
--- 61,65 ----
  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>