projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8e3a9
)
Issue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka.
author
Terry Jan Reedy
<tjreedy@udel.edu>
Mon, 13 Oct 2014 02:58:47 +0000
(22:58 -0400)
committer
Terry Jan Reedy
<tjreedy@udel.edu>
Mon, 13 Oct 2014 02:58:47 +0000
(22:58 -0400)
Lib/idlelib/PyShell.py
patch
|
blob
|
history
diff --git
a/Lib/idlelib/PyShell.py
b/Lib/idlelib/PyShell.py
index 514aee6fabd5996cbf51e73b05c8585cb8a3f3af..6b439885b27cce463b675764226ce7be0bd17345 100755
(executable)
--- a/
Lib/idlelib/PyShell.py
+++ b/
Lib/idlelib/PyShell.py
@@
-151,6
+151,9
@@
class PyShellEditorWindow(EditorWindow):
def color_breakpoint_text(self, color=True):
"Turn colorizing of breakpoint text on or off"
+ if self.io is None:
+ # possible due to update in restore_file_breaks
+ return
if color:
theme = idleConf.GetOption('main','Theme','name')
cfg = idleConf.GetHighlight(theme, "break")