*** empty log message ***

This commit is contained in:
Mark Mine 2000-10-18 18:06:55 +00:00
parent 73db725bfc
commit ebdd538dcc
2 changed files with 8 additions and 2 deletions

View File

@ -466,7 +466,9 @@ Currently-active file is at the head of the list.")
;; subprocess commands
(define-key py-mode-map "\C-c\C-c" 'py-execute-buffer)
(define-key py-mode-map "\C-c\C-m" 'py-execute-import-or-reload)
(define-key py-mode-map "\C-c\C-s" 'py-execute-string)
;; (define-key py-mode-map "\C-c\C-s" 'py-execute-string)
;; VR STUDIO ENHANCEMENT
(define-key py-mode-map "\C-c\C-s" 'pyd-shell)
(define-key py-mode-map "\C-c|" 'py-execute-region)
(define-key py-mode-map "\e\C-x" 'py-execute-def-or-class)
(define-key py-mode-map "\C-c!" 'py-shell)
@ -554,6 +556,7 @@ Currently-active file is at the head of the list.")
;; VR STUDIO ENHANCEMENTS
(define-key py-shell-map "\C-d" 'delete-char)
(define-key py-shell-map "\C-c\C-r" 'python-resume)
(define-key py-shell-map "\C-c\C-s" 'pyd-shell)
)
(defvar py-mode-syntax-table nil
@ -3146,6 +3149,9 @@ These are Python temporary files awaiting execution."
;; Function to try to resume panda mainloop
(defun python-resume ()
(interactive)
(end-of-buffer)
(insert "run()")
(newline 1)
(py-execute-string "try:\n\trun()\nexcept:\n\tpass"))
(provide 'python-mode)

View File

@ -101,7 +101,7 @@ class DirectSession(PandaObject):
bboxLines create: bboxLines lineNode.! !
"""
class Line(LineSegs):
class Line(NodePath, LineSegs):
def __init__(self):
LineSegs.__init__(self)