Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: kekz on October 31, 2014, 09:54:29

Title: File order when editing multiple files
Post by: kekz 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?
Title: Re: File order when editing multiple files
Post by: Mathias (Author) 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.
Title: Re: File order when editing multiple files
Post by: kekz 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?