@Paul-Baker said in How to iterate over the NPP file tabs (open files)?:
It’s not clear why you are recommending that the buffer id be removed on file close
I think it’s good housekeeping to delete all data regarding a file that no longer exists. In this particular case it doesn’t really matter whether you delete data on file close, but I’m sure you can imagine cases where it matters quite a lot.