(self)
Activate mechanism to restore text from highlighting.
Activate mechanism to restore text from highlighting.
Activate mechanism to restore text from highlighting .
def activate_restore(self):
        "Activate mechanism to restore text from highlighting."
        if not self.is_restore_active:
            for seq in self.RESTORE_SEQUENCES:
                self.text.event_add(self.RESTORE_VIRTUAL_EVENT_NAME, seq)
            self.is_restore_active = True
def activate_restore ( self ) : if not self . is_restore_active : for seq in self . RESTORE_SEQUENCES : self . text . event_add ( self . RESTORE_VIRTUAL_EVENT_NAME , seq ) self . is_restore_active = True