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.

Close

notepad.getFiles() only returns two entries?

Help
FriendFX
2012-12-12
2013-01-25
  • FriendFX
    FriendFX
    2012-12-12

    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?