[TC 11.57rc2] cm_Edit - Quoting behavior with different configurations for the editor (split)

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

Moderators: Stefan2, Hacker, petermad

Post Reply
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53138
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

[TC 11.57rc2] cm_Edit - Quoting behavior with different configurations for the editor (split)

Post by *ghisler(Author) »

The following post was a bit lost in the long discussion about the help file. Could someone please test this fix?

In RC6, Shift+F4 should now support a mix of quoted and not quoted names separated by spaces. Please test it!
27.04.26 Fixed: New text file (Shift+F4): Support a mix of names with and without double quotes, e.g. "name 1" name2 name3 "name 4" (32/64)
What should happen:
name 1 name2 name3 name 4 -> one file with one long name
"name 1" name2 name3 "name 4" -> 4 separate files named "name 1", "name2", "name3" and "name 4" (without the quotes).
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53138
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57rc2] cm_Edit - Quoting behavior with different configurations for the editor (split)

Post by *ghisler(Author) »

More details:
In RC6, Shift+F4 should now support a mix of names with and without double quotes, separated by spaces:
"name 1" name2 name3 "name 4"
name1 "name2" name3 "name 4"
name1 "name2" name3 name4
All these would create 4 files.
The condition is that at least one name is in double quotes. If you leave out the double quotes altogether, you get a single file:
name1 name2 name3 name4
-> just one file
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 4033
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.57rc2] cm_Edit - Quoting behavior with different configurations for the editor (split)

Post by *Fla$her »

I can only reiterate the words from the email: it's working as expected now. Fixed.
It remains to repeat for cm_MkDir.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53138
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57rc2] cm_Edit - Quoting behavior with different configurations for the editor (split)

Post by *ghisler(Author) »

Thanks for confirming the fix!

cm_MkDir does not currently support spaces as separators.

Moderator message from: ghisler(Author) » 2026-05-04, 07:58 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply