Author Topic: File order when editing multiple files  (Read 6827 times)

kekz

  • Newbie
  • *
  • Posts: 8
    • View Profile
File order when editing multiple files
« on: October 31, 2014, 09:54:29 »
When editing multiple files at once they are not reasonably sorted.

Select multiple files
Edit Hotkey (File - Edit file)
This opens Notepad++ for me and opens all selected files in tabs
The filename arguments are neither sorted alphabetically nor like they are shown in the current MC explorer view.

When using another commander tool they open in the order as they are shown in its explorer view.

Is there a specific order in which files are passed as arguments to the edit tool?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4286
    • View Profile
    • Multi Commander
Re: File order when editing multiple files
« Reply #1 on: October 31, 2014, 10:14:29 »
Neither.

The editor (Notepad++) is executed once for every selected file. And they are executed in the order they sorted from Top to Bottom.

kekz

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: File order when editing multiple files
« Reply #2 on: October 31, 2014, 13:59:58 »
Ah ok. Then it will be the order in which the notepad++ process gathers all these calls.

This would change this post more into a feature request: Would it be possible to introduce a switch in the File Type Setup entries, whether the selected files are passed with single calls to the executable or concatenated into one long argument string?