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])
    # ent_name:
    try:
        self._list_store[path][6] = 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:
    self._list_store[path][3] = self._get_icon(entid, idx, False)