code: def execute_macros(self):
          
  
          # Mark content as changed
          post_command_event(self.main_window, self.ContentChangedMsg)
  
          (result, err) = self.grid.code_array.execute_macros()
  
          # Post event to macro dialog
          post_command_event(self.main_window, self.MacroErrorMsg,
                             msg=result, err=err)
docs: Executes macros and marks grid as changed