(self, index1, index2=None)
return
Mark text changes for processing and restart colorizing, if active.
Mark text changes for processing and restart colorizing, if active.
Mark text changes for processing and restart colorizing if active .
def notify_range(self, index1, index2=None):
        "Mark text changes for processing and restart colorizing, if active."
        self.tag_add("TODO", index1, index2)
        if self.after_id:
            if DEBUG: print("colorizing already scheduled")
            return
        if self.colorizing:
            self.stop_colorizing = True
            if DEBUG: print("stop colorizing")
        if self.allow_colorizing:
            if DEBUG: print("schedule colorizing")
            self.after_id = self.after(1, self.recolorize)
        return
def notify_range ( self , index1 , index2 = None ) : self . tag_add ( "TODO" , index1 , index2 ) if self . after_id : if DEBUG : print ( "colorizing already scheduled" ) return if self . colorizing : self . stop_colorizing = True if DEBUG : print ( "stop colorizing" ) if self . allow_colorizing : if DEBUG : print ( "schedule colorizing" ) self . after_id = self . after ( 1 , self . recolorize ) return