code: def OnText(self, event):
          
  
          if not self.ignore_changes:
              post_command_event(self, self.CodeEntryMsg, code=event.GetString())
  
          self.main_window.grid.grid_renderer.cell_cache.clear()
  
          event.Skip()
docs: Text event method evals the cell and updates the grid