code: def quote_selection(self):
          
  
          selection = self.get_selection()
          current_table = self.grid.current_table
          for row, col, tab in self.grid.code_array.dict_grid.keys():
              if tab == current_table and (row, col) in selection:
                  self.grid.actions.quote_code((row, col, tab))
  
          self.grid.code_array.result_cache.clear()
docs: Quotes selected cells, marks content as changed