-[8.5b2] [="["tc.name"]"] fails

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

-[8.5b2] [="["tc.name"]"] fails

Post by *MVV »

Try to set e.g. comment attribute using pattern [="["tc.name"]"]. TC doesn't set attribute.
However, it is expected that TC will set attribute to file name in square brackets. If I specify any other text in double quotes, e.g. [="{"tc.name"}"], all work fine. It seems that TC cuts plugin field definition on first ] even if it is quoted.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, square brackets are currently not supported in that location in change attributes.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It seems that there's no way to type square brackets in content field patterns at all...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately not.
Author of Total Commander
https://www.ghisler.com
Post Reply