• Login
Community
  • Login

Issue when opening multiple files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 2.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    Giulio Martini
    last edited by Jan 11, 2018, 11:03 AM

    Good morning,
    I would like to ask why when opening multiple text files with notepad++, the app does not open them in order. This is quite annoying since I must drag them to sort them each time.
    Thank you in advance to anyone who will provide a solution,
    Giulio

    S 1 Reply Last reply Jan 11, 2018, 1:29 PM Reply Quote 1
    • S
      Scott Sumner @Giulio Martini
      last edited by Jan 11, 2018, 1:29 PM

      @Giulio-Martini

      What is your method for opening the files?

      1. File (menu) -> Open box (or equivalent toolbar button or shortcut)
      2. Drag and Drop from e.g. Windows Explorer
      3. Some other way???

      I find that method 1 will open the files and keep the tabs in the same order as the way I select them in the File Open window. For method 2, well, drag and drop is an OS thing and I don’t think there are any guarantees about the order in which it provides filepath data to the drop target, but I could be wrong about this–at least in my testing the order provided to N++ was NOT the same as selected, or as shown in the Explorer window. In other words, I don’t believe there is any “fix” for the behavior seen with method 2.

      1 Reply Last reply Reply Quote 0
      • G
        Giulio Martini
        last edited by Jan 11, 2018, 1:46 PM

        Ok I think I understood what I did wrong.
        After selecting the desired files, I did right click + edit with notepad++. However, when I right clicked I did not do it on the “first” file. By right clicking on a random file among the selected ones, notepad++ appears to open that file first and then proceeds by opening the following ones in a “circular” way. Actually, this appears to be a Windows thing. Thank you for your help and sorry for the waste of time.

        1 Reply Last reply Reply Quote 1
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors