#550 Bug in NppShell when trying to open many files

Next_major_release
closed
nobody
None
7
2014-08-16
2014-01-10
No

https://sourceforge.net/p/notepad-plus/discussion/331753/thread/8486c498/

To reproduce: create a folder with many textfiles where the sum of the textfiles' names is larger than 32768 (e.g a folder with 700 files each with a name longer than 50 characters). Select them all, right click, and choose "Edit in Notepad++". An error occurs.

When opening files using NppShell, it tries to create a single command-line call. But there is a limit to how long such a call can be (2048 or 32768 chars depending on Windows version). The files need to be opened in batches to avoid creating too long command-lines.

1 Attachments

Discussion

  • Don HO

    Don HO - 2014-05-01
    • status: open --> accepted
    • Priority: 5 --> 7
     
  • Don HO

    Don HO - 2014-05-01

    It won't be in the next version (v6.6), but future version (v6.6.1)
    Thank you for the patch.

    Don

     
  • Don HO

    Don HO - 2014-08-16
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks