TC11.03 RC2: cm_Edit no longer works as intended

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

TC11.03 RC2: cm_Edit no longer works as intended

Post by *beb »

User command:

Code: Select all

[em_dummy_file]
cmd=cm_Edit /C /N="dummy.txt" /L0 /G
Based on [Help [Index] Dialog box: Choose command]

Code: Select all

cm_Edit
The following parameters can be passed to the function behind a slash:
C: Create files which do not already exist
N="name": The name(s) of the file(s) to be created.
G: Go, create new files immediately (has no effect when not using C)
L: Launch type:
L0=do not launch.
Expected command behavior (actual prior TC11.03 RC2):
- creates an empty text file upon request without asking any questions.

Actual command behavior (since TC11.03 RC2):
- does not create a file, launches text editor with a proposition to create one.

Thus, in the opposite to the /C /G switches instruction cm_Edit does not [immediately and silently] create a file.
In the opposite to the /L0 switch instruction cm_Edit does launch...
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC11.03 RC2: cm_Edit no longer works as intended

Post by *ghisler(Author) »

Confirmed. It's a side effect of fixing the crash when pressing F4 in standalone lister. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC11.03 RC2: cm_Edit no longer works as intended

Post by *ghisler(Author) »

This should be fixed in RC3, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TC11.03 RC2: cm_Edit no longer works as intended

Post by *beb »

2ghisler(Author)
The described command now works like a charm again.
So I can confirm this is fixed in RC3.
Thank you very much.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC11.03 RC2: cm_Edit no longer works as intended

Post by *petermad »

Moderator message from: petermad » 2024-01-29, 16:22 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply