code: def hl_canvas2table_box(self, canvas, tag):
          
          self.treeview.clear_selection()
  
          # Remove existing box
          cobj = canvas.get_object_by_tag(tag)
          if cobj.kind != 'rectangle':
              return
          canvas.delete_object_by_tag(tag, redraw=False)
  
          # Remove existing highlight
          if self.markhltag:
              try:
                  canvas.delete_object_by_tag(self.markhltag, redraw=True)
              except Exception:
                  pass
  
          # Nothing to do if no markings are displayed
          try:
              obj = canvas.get_object_by_tag(self.marktag)
          except Exception:
              return
  
          if obj.kind != 'compound':
              return
  
          # Nothing to do if table has no data
          if (len(self._xarr) == 0 or len(self._yarr) == 0 or
                  len(self._treepaths) == 0):
              return
  
          # Find markings inside box
          mask = cobj.contains_arr(self._xarr, self._yarr)
  
          for hlpath in self._treepaths[mask]:
              self._highlight_path(hlpath)
docs: Highlight all markings inside user drawn box on table.