code: def delete_cols(self, col, no_cols=1):
          
  
          # Mark content as changed
          post_command_event(self.main_window, self.ContentChangedMsg)
  
          tab = self.grid.current_table
  
          try:
              self.code_array.delete(col, no_cols, axis=1, tab=tab)
  
          except ValueError, err:
              post_command_event(self.main_window, self.StatusBarMsg,
                                 text=err.message)
docs: Deletes no_cols column and marks grid as changed