code: def set_current(self, value):
          '''
          Set the self.current string.
          '''
          self.current = value
          self.cursor = 0
          self.limit = len(self.current)
          self.limit_backward = 0
          self.bra = self.cursor
          self.ket = self.limif set_current(self, value):
          '''
          Set the self.current string.
          '''
          self.current = value
          self.cursor = 0
          self.limit = len(self.current)
          self.limit_backward = 0
          self.bra = self.cursor
          self.ket = self.limit
docs: Set the self.current string.