diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2002-12-31 16:03:23 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2002-12-31 16:03:23 (GMT) |
commit | 6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d (patch) | |
tree | 94c162d82dacd500b7e59403255c8af854b38f51 /Lib/idlelib/ScriptBinding.py | |
parent | 9532298c82d8384a6c469136ac87842990ec10dd (diff) | |
download | cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.zip cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.gz cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.bz2 |
Whitespace Normalization
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r-- | Lib/idlelib/ScriptBinding.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index 8ab8e7a..0140c69 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() |