def __str__(self) -> str:
        """Return string representation of the receiver's input text and state."""
        return self.input[:self.offset] + "§" + self.input[self.offset:]
def __str__ ( self ) -> str : return self . input [ : self . offset ] + "§" + self . input [ self . offset : ]
Return string representation of the receiver's input text and state.