AntonyD wrote:My case turned out to be a little more complicated. I completely forgot that I have an external F4MiniMenu "interceptor".
I use F4Menu (TC's editor field set to: %COMMANDER_PATH%\TOOLS\F4Menu\F4Menu.exe) and have no problems with the F4Edit=2 setting closing Lister. So F4MiniMenu must be doing something unexpected.
But I see another problem. If several files are selected when pressing F3 or Shift+F3, and I press F4 in the Lister window (Text view mode 1), then my editor is opened with all the selected files, also if Lister is only opened with one of the files.
This happen because after pressing F3 all the files are still selected - and F4Menu is set up to open all seleted files in multibple instances my text editor.
If I manually go back to TC (Lister still open), and remove the selections, then only the file actively shown in lister is opened in the editor. This happens even if Lister is opened in one-file mode (Shift+F3 by default).
Either Lister should alvays only pass the shown file to the editor - at least when Lister was opened in one-file mode - or it should be configuralbe to always only open the displayed file.
I have configured F3 to always only open the file under the cursor.
If I select several files and press F3 on one of these files, only that file is opened in Lister. If I then press F4, all the selected files are passed to the editor - that is unexpected.
If I select several files and press F3 on a file that is not selected, still only that file is opened in Lister, and if I press F4, only that file is opened in the editor, as expected
If I select several files and press Shift+F3 on one of these files, all of the files are loaded into Lister. When I press F4 all the selected files are passed to the editor - that can be argued as expected, but I would prefer if only the shown file is passed.
If I select 3 files and press Shift+F3 on one of these files, all of the files are loaded into Lister. If I go back to the file panel ad deselect the last selected file, and go back to Lister and press F4, only the currently shown file is passed to editor.
If I select 3 files and press Shift+F3 on one of these files, all of the files are loaded into Lister. If I go back to the file panel ad deselect the second selected file, and go back to Lister and press F4, then the first and the third file are passed to editor - unexpected
If I select 3 files and press Shift+F3 on one of these files, all of the files are loaded into Lister. If I go back to the file panel ad deselect the first selected file, and go back to Lister and press F4, then the second and the third file are passed to editor - unexpected
If I select 3 files and press Shift+F3 on one of these files, all of the files are loaded into Lister. If I go back to the file panel ad deselect all the selected files, and go back to Lister and press F4, then the displayed file (of the 3) is passed to editor - as expected.