parameters: (self)
docstring: Activate mechanism to restore text from highlighting.
docstring_summary: Activate mechanism to restore text from highlighting.
docstring_tokens: Activate mechanism to restore text from highlighting .
function: 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
function_tokens: 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