[Idle-dev] CVS: idle EditorWindow.py,1.23.2.3,1.23.2.4 PyShell.py,1.13.2.2,1.13.2.3
Stephen M. Gava
elguavas@users.sourceforge.net
Mon, 05 Aug 2002 17:42:10 -0700
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv25461
Modified Files:
Tag: DS_RPC_BRANCH
EditorWindow.py PyShell.py
Log Message:
general cleanup: remove purposeless and incorrect 'binding comments'
Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/idlefork/idle/EditorWindow.py,v
retrieving revision 1.23.2.3
retrieving revision 1.23.2.4
diff -C2 -r1.23.2.3 -r1.23.2.4
*** EditorWindow.py 24 Jul 2002 23:44:02 -0000 1.23.2.3
--- EditorWindow.py 6 Aug 2002 00:42:08 -0000 1.23.2.4
***************
*** 1,7 ****
- # changes by dscherer@cmu.edu
- # - created format and run menus
- # - added silly advice dialog (apologies to Douglas Adams)
- # - made Python Documentation work on Windows (requires win32api to
- # do a ShellExecute(); other ways of starting a web browser are awkward)
import sys
--- 1,2 ----
***************
*** 27,86 ****
# The default tab setting for a Text widget, in average-width characters.
TK_TABWIDTH_DEFAULT = 8
-
- # File menu
-
- #$ event <<open-module>>
- #$ win <Alt-m>
- #$ unix <Control-x><Control-m>
-
- #$ event <<open-class-browser>>
- #$ win <Alt-c>
- #$ unix <Control-x><Control-b>
-
- #$ event <<open-path-browser>>
-
- #$ event <<close-window>>
-
- #$ unix <Control-x><Control-0>
- #$ unix <Control-x><Key-0>
- #$ win <Alt-F4>
-
- # Edit menu
-
- #$ event <<Copy>>
- #$ win <Control-c>
- #$ unix <Alt-w>
-
- #$ event <<Cut>>
- #$ win <Control-x>
- #$ unix <Control-w>
-
- #$ event <<Paste>>
- #$ win <Control-v>
- #$ unix <Control-y>
-
- #$ event <<select-all>>
- #$ win <Alt-a>
- #$ unix <Alt-a>
-
- # Help menu
-
- #$ event <<help>>
- #$ win <F1>
- #$ unix <F1>
-
- #$ event <<about-idle>>
-
- # Events without menu entries
-
- #$ event <<remove-selection>>
- #$ win <Escape>
-
- #$ event <<center-insert>>
- #$ win <Control-l>
- #$ unix <Control-l>
-
- #$ event <<do-nothing>>
- #$ unix <Control-x>
class EditorWindow:
--- 22,25 ----
Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -C2 -r1.13.2.2 -r1.13.2.3
*** PyShell.py 24 Jul 2002 23:44:02 -0000 1.13.2.2
--- PyShell.py 6 Aug 2002 00:42:08 -0000 1.13.2.3
***************
*** 60,97 ****
linecache.checkcache = linecache_checkcache
-
- # Note: <<newline-and-indent>> event is defined in AutoIndent.py
-
- #$ event <<plain-newline-and-indent>>
- #$ win <Control-j>
- #$ unix <Control-j>
-
- #$ event <<beginning-of-line>>
- #$ win <Control-a>
- #$ win <Home>
- #$ unix <Control-a>
- #$ unix <Home>
-
- #$ event <<history-next>>
- #$ win <Alt-n>
- #$ unix <Alt-n>
-
- #$ event <<history-previous>>
- #$ win <Alt-p>
- #$ unix <Alt-p>
-
- #$ event <<interrupt-execution>>
- #$ win <Control-c>
- #$ unix <Control-c>
-
- #$ event <<end-of-file>>
- #$ win <Control-d>
- #$ unix <Control-d>
-
- #$ event <<open-stack-viewer>>
-
- #$ event <<toggle-debugger>>
-
-
class PyShellEditorWindow(EditorWindow):
--- 60,63 ----