Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


notepad.getFiles() only returns two entries?

  • FriendFX

    Hi, I am very new to npppythonscript, but have been a happy user of NP++ and python developer for quite some time.

    I am currently trying to get all open filenames in NP++, by using notepad.getFiles() …but that only gives me two entries, even though I have one file open in the left view and five open in the right view.

    Playing around with re-arranging the views and order, the notepad.getFiles() output changes - sometimes, even files are listed which are non-existent (such as "New 3", which I had created and closed without saving earlier).

    Am I using the wrong function or is this a bug?