(self, color=True)
Turn colorizing of breakpoint text on or off
Turn colorizing of breakpoint text on or off
Turn colorizing of breakpoint text on or off
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.CurrentTheme()
            cfg = idleConf.GetHighlight(theme, "break")
        else:
            cfg = {'foreground': '', 'background': ''}
        self.text.tag_config('BREAK', cfg)
def color_breakpoint_text ( self , color = True ) : if self . io is None : # possible due to update in restore_file_breaks return if color : theme = idleConf . CurrentTheme ( ) cfg = idleConf . GetHighlight ( theme , "break" ) else : cfg = { 'foreground' : '' , 'background' : '' } self . text . tag_config ( 'BREAK' , cfg )