code: def go_to_position(self, position):
          
  
          cursor = self.textCursor()
          cursor.setPosition(position)
          self.setTextCursor(cursor)
          return True
docs: Moves the text cursor to given position.
  
          :param position: Position to go to.
          :type position: int
          :return: Method success.
          :rtype: bool