commit | 7378df78225e9dcd3da7831c81f52f2af36692fc | [log] [tgz] |
---|---|---|
author | Kurt B. Kaiser <kbk@shore.net> | Sat Aug 11 04:20:51 2007 +0000 |
committer | Kurt B. Kaiser <kbk@shore.net> | Sat Aug 11 04:20:51 2007 +0000 |
tree | 8a290a5e8e762cda5fd98fe74c91167dc454070c | |
parent | efdca3e071d4bf4d36c1b09f04547fbc3da83e62 [diff] [blame] |
Fix what appears to be a very old bug. Tkinter in struni is more intolerant of non-existant text widget 'marks', it seems.
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 90c837c..bfd659c 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py
@@ -961,6 +961,7 @@ """ def begin(self): + self.text.mark_set("iomark", "insert") self.resetoutput() if use_subprocess: nosub = ''