tc75pb7: Colors, comments & ignored descript.ion ...

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

Moderators: white, Hacker, petermad, Stefan2

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

tc75pb7: Colors, comments & ignored descript.ion ...

Post by *ZeLen1y »

Bug:

When descript.ion in ignore list & i'm comment file with "!" they are not colored ...

Config:

[Colors]
ColorFilter1=>_Comment!
ColorFilter1Color=12682495

[Searches]
_Comment!_Plugin="tc.comment = !"
_Comment!_SearchFor=
_Comment!_SearchFlags=0|000002000020|||||||||0000|

[ignore.lst]
descript.ion
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You may need to press F2 or Ctrl+R to refresh the list.
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 »

ghisler(Author) wrote:You may need to press F2 or Ctrl+R to refresh the list.
cm_RereadSource does not work !!!
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

tc75pb8: same bug
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, couldn't reproduce.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

2ZeLen1y
Are you sure, that you are commenting your files with "!" only and not with "! enter" ? If no, you can have your color after reentering this directory.


2ghisler(Author)
I can say, that the new color is applied only after reentering directory, not after F2 (if descript.ion is ignored. If it is not ignored, TC reacts to F2). May be it is right, but it seems not to be right :?
TC7.5RC2 tested here.
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

2Postkutscher

Comment = "!"

F2 - Nothing (Bug)
Refresh - Nothing (Bug)
Reenter directory - Ok
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Colors are cached because it can take a long time (depending on the used filter) to re-read them. Currently it's not planned to change this, it's a performance decision.
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 »

ghisler(Author) wrote:Colors are cached because it can take a long time (depending on the used filter) to re-read them. Currently it's not planned to change this, it's a performance decision.
How about to do optional this performance decision ?
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

also bug exists when files are hidden via command "cm_switchhidsys" ... :?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What bug?
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 »

What bug?

:shock:

When descript.ion in ignore list or hidden via command "cm_switchhidsys" & i'm comment file with "!" they are not colored ...
New color is applied only after reentering directory ...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try again to reproduce it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you test it with TC 7.55 beta, 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 »

FIXED! _^
Post Reply