Different color for files with comments?
Moderators: Hacker, petermad, Stefan2, white
Different color for files with comments?
What about being able to set a different color/icon for files with comments. I mean the BBS-like comments which are stored in DESCRIPT.ION. That way you could see if there is extra information stored for a file.
Free fast image hosting: http://picserver.org/
Balloon
2ddofborg
Hi again!
- You watch that simply passing the mouse-cursor above the file-names… and get an info-text. You must enable this in Configuration >> Options >> Display >> Help Texts >> Tick the box Win 32 style" info-texts for comments…
- Or else, I don't see how to set a colour for that; colours are possible for file-types only, AFAIK…
K R
Claude
Clo
Hi again!
- You watch that simply passing the mouse-cursor above the file-names… and get an info-text. You must enable this in Configuration >> Options >> Display >> Help Texts >> Tick the box Win 32 style" info-texts for comments…
- Or else, I don't see how to set a colour for that; colours are possible for file-types only, AFAIK…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Balloon
Well, if you have like 200 files in your download directory, it's easier to view DESCRIPT.IONClo wrote: - You watch that simply passing the mouse-cursor above the file-names… and get an info-text. You must enable this in Configuration >> Options >> Display >> Help Texts >> Tick the box Win 32 style" info-texts for comments…

Free fast image hosting: http://picserver.org/
[face=courier]On 10-10-2004 19:37:02 +0000 Hacker wrote:
H> a small overlay icon for files with comments would also be
H> pretty nifty...
Very good idea, Jedi.[/face]
H> a small overlay icon for files with comments would also be
H> pretty nifty...
Very good idea, Jedi.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Just press Ctrl+Shift+F2 to show or hide comments very quickly! Btw, the next version of TC will allow to set a different color for files with comments.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi Chrisghisler(Author) wrote:Just press Ctrl+Shift+F2 to show or hide comments very quickly! Btw, the next version of TC will allow to set a different color for files with comments.

Free fast image hosting: http://picserver.org/
Re:
Hi,ghisler(Author) wrote: 2004-10-11, 18:47 UTC Just press Ctrl+Shift+F2 to show or hide comments very quickly! Btw, the next version of TC will allow to set a different color for files with comments.
Was this implemented??

TC license #346559
Re: Different color for files with comments?
2bogordo
It is only 18 easy steps:
Yes you can set the colors for comments using the "Define colors by file type" and the tc file content plugin:Was this implemented??
It is only 18 easy steps:
- In the menu click "Configuration"
- Click on "Options..."
- Click on "Color" in the list.
- Click on the button "Define colors by file type".
- Click the "Add" button.
- Click the "Define" buton.
- Click the "Plugins" tab (at the top).
- Mark the box "Search in plugins".
- Click on the button under "Property".
- Select "Comment".
- Click on the buton under "OP".
- Select "!="
- Click the "Save" button.
- Write a name - for example: Comments
- Click the "OK" button.
- Pick a color.
- Click "OK"
- Click "OK"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different color for files with comments?
Thank you petermad but after doing this i get ALL the files/folders colored...mmm.
I checked the RegEx if the case but this disabled the coloring...
I checked the RegEx if the case but this disabled the coloring...
TC license #346559
Re: Different color for files with comments?
2bogordo
Works fine here - see: https://tcmd.madsenworld.dk/commentcolors.png
Remember to click the Save button - and all the OK-buttons after selecting the color.
If you have more definitions in Color by file type, make sure >Comments is at the top of the list.
Works fine here - see: https://tcmd.madsenworld.dk/commentcolors.png
Remember to click the Save button - and all the OK-buttons after selecting the color.
If you have more definitions in Color by file type, make sure >Comments is at the top of the list.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different color for files with comments?
Yea, it's on the top but nothing, i have this definition:
komentatuak_SearchFor=
komentatuak_SearchIn=
komentatuak_SearchText=
komentatuak_SearchFlags=0|002002001020|||||||||0000|||
komentatuak_plugin=tc.comment cont.(case) ""
komentatuak_SearchFor=
komentatuak_SearchIn=
komentatuak_SearchText=
komentatuak_SearchFlags=0|002002001020|||||||||0000|||
komentatuak_plugin=tc.comment cont.(case) ""
TC license #346559
Re: Different color for files with comments?
That is not as I instructed here above.bogordo wrote: 2025-04-14, 11:56 UTCi have this definition:
komentatuak_SearchFor=
komentatuak_SearchIn=
komentatuak_SearchText=
komentatuak_SearchFlags=0|002002001020|||||||||0000|||
komentatuak_plugin=tc.comment cont.(case) ""
Try:
Code: Select all
komentatuak_SearchFor=
komentatuak_SearchIn=
komentatuak_SearchText=
komentatuak_SearchFlags=0|002002000020|||||||||0000|||
komentatuak_Plugin=tc.comment != ""
You can replace tc.comment != "" with:
tc.comment !contains ""
tc.comment !cont.(case) ""
tc.fullname !=(case) ""
it will make no difference - the important thing is that the comment for a file is not empty ("") to be recognized as having a comment.
And make sure the filter is the first in the [Colors] section:
Code: Select all
ColorFilter1=>komentatuak
ColorFilter1Color=xxxxx
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different color for files with comments?
Thank you very much petermad, working now!!
TC license #346559