code: def set_to_current(self, ):
          
          cur = self.get_current_file()
          if cur is not None:
              self.set_selection(cur)
          else:
              self.init_selection()
docs: Set the selection to the currently open one
  
          :returns: None
          :rtype: None
          :raises: None