def METHOD_NAME(self, widget, path, text):
    match = PATTERN_MD_ENTRY.match(text)
    if match is None:
        return
    try:
        entid = u16_checked(int(match.group(1)))
    except ValueError:
        return
    idx = int(self._list_store[path][0])
    # Check, if this is a special entry,
    # in this case we update the standin entry!
    # TODO: it's a bit weird doing this over the color
    if self._list_store[path][8] == ORANGE:
        logger.debug(f"Updated standin for actor {idx}: {entid}")
        standins = self._sprite_provider.get_standin_entities()
        standins[idx] = entid
        self._sprite_provider.set_standin_entities(standins)
    # ent_name:
    try:
        self._list_store[path][7] = self._ent_names[entid]
    except KeyError as e:
        raise UserValueError(_("No Pokémon with this ID found."))
    # entid:
    self._list_store[path][4] = entid
    # ent_icon:
    # If color is orange it's special.
    # TODO: it's a bit weird doing this over the color
    self._list_store[path][3] = self._get_icon(entid, idx, self._list_store[path][8] == ORANGE)