From eb9637ef7de5693d1acba5809af7fa62aa1fff2c Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sun, 26 Jan 2003 04:17:16 +0000 Subject: M ScriptBinding.py M config-extensions.def M help.txt 1. Run Script --> Run Module 2. Update IDLE Help file and do more work on format. --- Lib/idlelib/ScriptBinding.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/idlelib/ScriptBinding.py') diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index dcb5f9a7040..0f4483278e3 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -11,7 +11,7 @@ This adds the following commands: XXX GvR Redesign this interface (yet again) as follows: -- Present a dialog box for ``Run script'' +- Present a dialog box for ``Run Module'' - Allow specify command line arguments in the dialog box @@ -45,7 +45,7 @@ class ScriptBinding: menudefs = [ ('run', [None, ('Check Module', '<>'), - ('Run Script', '<>'), ]), ] + ('Run Module', '<>'), ]), ] def __init__(self, editwin): self.editwin = editwin @@ -113,8 +113,8 @@ class ScriptBinding: text.mark_set("insert", pos + "+1c") text.see(pos) - def run_script_event(self, event): - "Check syntax, if ok run the script in the shell top level" + def run_module_event(self, event): + "Check syntax, if ok run the module in the shell top level" filename = self.getfilename() if not filename: return -- cgit v1.2.3