Merge with 3.4 #22614
This commit is contained in:
commit
2fb369c0d3
|
@ -151,6 +151,9 @@ class PyShellEditorWindow(EditorWindow):
|
||||||
|
|
||||||
def color_breakpoint_text(self, color=True):
|
def color_breakpoint_text(self, color=True):
|
||||||
"Turn colorizing of breakpoint text on or off"
|
"Turn colorizing of breakpoint text on or off"
|
||||||
|
if self.io is None:
|
||||||
|
# possible due to update in restore_file_breaks
|
||||||
|
return
|
||||||
if color:
|
if color:
|
||||||
theme = idleConf.GetOption('main','Theme','name')
|
theme = idleConf.GetOption('main','Theme','name')
|
||||||
cfg = idleConf.GetHighlight(theme, "break")
|
cfg = idleConf.GetHighlight(theme, "break")
|
||||||
|
|
Loading…
Reference in New Issue