Change attributes, comments & colors

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Change attributes, comments & colors

Post by *ZeLen1y »

Problem
When change comments of files by "Change Attributes" tool with setting tc.comment: =! text on the file panel becomes black if comment has already been set ...

Instructions to reproduce
1. select files & apply attrplugin "_Comment!x1" preset
2. repeat step 1 or apply other preset

tested again on clear tc 7.55 pb 1
removing comments with preset "_Comment" works normally

Code: Select all

[Searches]
_Comment!x1_Plugin="tc.comment regex ^!{1}((\\s|\\r).*)?$"
_Comment!x1_SearchFor=
_Comment!x1_SearchFlags=0|000002000020|||||||||0000|
_Comment!x2_Plugin="tc.comment regex ^!{2}((\\s|\\r).*)?$"
_Comment!x2_SearchFor=
_Comment!x2_SearchFlags=0|000002000020|||||||||0000|
_Comment!x3_Plugin="tc.comment regex ^!{3}((\\s|\\r).*)?$"
_Comment!x3_SearchFor=
_Comment!x3_SearchFlags=0|000002000020|||||||||0000|

[Colors]
InverseCursor=0
InverseSelection=1
BackColor=0
BackColor2=0
ForeColor=11513775
MarkColor=6579300
CursorColor=-1
CursorText=0
ColorFilter1=>_Comment!x1
ColorFilter1Color=12682495
ColorFilter2=>_Comment!x2
ColorFilter2Color=10700543
ColorFilter3=>_Comment!x3
ColorFilter3Color=8126713

[AttrPlugin]
_Comment=tc.comment := ""
_Comment!x1=tc.comment := !
_Comment!x2=tc.comment := !!
_Comment!x3=tc.comment := !!!
Last edited by ZeLen1y on 2010-03-29, 18:23 UTC, edited 2 times in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I cannot reproduce it, it gets the ColorFilter1Color color here. Maybe I'm doing something wrong, can you give me step by step instructions please?
Author of Total Commander
https://www.ghisler.com
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

1st post updated ...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could reproduce it now, thanks! The problem seems to be that you use a black background color. I will try to fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can anyone confirm this very old fix, please?
Author of Total Commander
https://www.ghisler.com
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

tc 8b7 - no errors. everything works fine! :wink:
Post Reply