From 6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Tue, 31 Dec 2002 16:03:23 +0000 Subject: Whitespace Normalization --- Lib/idlelib/ScriptBinding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/idlelib/ScriptBinding.py') diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index 8ab8e7afcd..0140c69430 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -99,7 +99,7 @@ class ScriptBinding: self.errorbox("Syntax error", "There's an error in your program:\n" + msg) return False - + def colorize_syntax_error(self, msg, lineno, offset): text = self.editwin.text pos = "0.0 + %d lines + %d chars" % (lineno-1, offset-1) @@ -112,7 +112,7 @@ class ScriptBinding: else: 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" filename = self.getfilename() -- cgit v1.2.1