Page 1 of 1
F4 on ..
Posted: 2007-02-12, 15:34 UTC
by astrotzky
1. Select some files
2. Move the cursor to ..
3. Press F4
===> "No files selected!"
It only works ok when the cursor is not on the ..
Please confirm.
Posted: 2007-02-12, 15:50 UTC
by Jqn
Confirmed!.
But.. if you press F4, TC edits the file under cursor, and not the selected one.
Due to it, a warning takes place in the entry ".."
This is the desired behavior. (I think)
Posted: 2007-02-12, 16:43 UTC
by Sir_SiLvA
Jqn wrote:This is the desired behavior. (I think)
Excactly

This is no bug but by design
What file do you want to edit when Cursor is on ".." ?
The first marked, the first marked that starts with a L, etc....
Re: [BUG] F4 on ..
Posted: 2007-02-12, 17:14 UTC
by eugensyl
astrotzky wrote:1. Select some files
2. Move the cursor to ..
3. Press F4
===> "No files selected!"
It only works ok when the cursor is not on the ..
Please confirm.
If you use external editor all selected files are opened in editor.
Normal, I think.
Best wishes,
Posted: 2007-02-12, 19:11 UTC
by astrotzky
OK, I use ChoiseEditor and when I select mutiple files and press F4, ALL of them are opened into my editor (SciTE) each in it's own tab.
But when the cursor is on .. , I get that error when I was expecting the same behaviour: all the selected files to be opened.
After more investigation, it seems that Total Commander sends just the file under cursor to the configured editor (ChoiseEditor in my case), so ChoiseEditor must be doing something to get all the selected files.
So, yes this is not a bug...
But saying "No files selected!" after I just selected some, is confusing.
Maybe TC should send all the selected files to the editor by use of % parameters (you would configure the editor like you do the buttons).
Posted: 2007-02-13, 08:11 UTC
by eugensyl
astrotzky wrote:OK, I use ChoiseEditor and when I select mutiple files and press F4, ALL of them are opened into my editor (SciTE) each in it's own tab.
But when the cursor is on .. , I get that error when I was expecting the same behavior: all the selected files to be opened.
...
F4 on '..' is mean <<Edit Up Directory (or folder)>>.
Can you edit a directory?
It is correct behavior of TC. Exactly what is happened.
2Ghisler
Maybe,
line 51 in LNG file can be something like this:
"
The object of action is missing! Unfortunately, there are no FILES selected for this action."
This behavior is meet in several cases : archive, copy, move and so on.
The answer is correct everywhere. I have tested many years ago.

Of course, in Romanian language...
Even in computer world: "
Nature isn't wrong, we are!" in most cases.
Best wishes,
Posted: 2007-02-13, 13:19 UTC
by m^2
eugensyl wrote:
F4 on '..' is mean <<Edit Up Directory (or folder)>>.
I also see this as edition of the directory.
Posted: 2007-02-14, 00:25 UTC
by m^2
The thing described above is a design issue.
But here is also a bug.
I have a message:
Code: Select all
[em_start_xmplay]
Menu=Start XMPlay with all selected files, also in subdirs
Cmd=%COMMANDER_PATH%\..\Tools\TotalEditor\TotalEditor
Param=-L %F --ignore-dirs=1 --recurse-subdirs=1 --no-default=1 -C \TE-Music.ini
When I select .. (and nothing more) TotaEditor is called with command line:
I think it's quite incorrect...In such situation TC should send either
empty list or
a list with c:\path\ or
a list with c:\path\..
I prefer the second or the 3rd option.
Even when there's no list, the rest of parameters should be sent..or program shouldn't be started.
Re: [BUG] F4 on ..
Posted: 2009-02-27, 07:44 UTC
by walda
eugensyl wrote:astrotzky wrote:1. Select some files
2. Move the cursor to ..
3. Press F4
===> "No files selected!"
It only works ok when the cursor is not on the ..
Please confirm.
If you use external editor all selected files are opened in editor.
Normal, I think.
Best wishes,
In my case, only the one file under cursor is opened in editor. My Editor also supports multi-tabs but i dont think its an editor problem.
How can i send all marked files to the external editor?
Thanks
Walter
Posted: 2009-02-27, 11:47 UTC
by jjk
You have to create an user-command. Menu Configuration/Misc. You choose F4 as shorcut key and when in Command combo-box, you click on lens button to open the list of internal commands. Very down in the left list, you click on "usercmd.ini" option.
You can see all your usercmds. Click on "New" button and enter "em_edit" for example as name of your new usercmd.
Now you have to enter the path of your editor.exe (browse if necessary) and enter "%P%S" in the parameter input box. Confirm.
Now, name of your new usercmd has filled the Command input box of the "Configuration" TC window.
Don't forget to click on te check button right to the lens button. Finally click on Confirm button.
That's all, folks.
With F4 you open now all the selected files.
Posted: 2009-03-02, 06:21 UTC
by walda
Thanks a lot, jjk!