| View previous topic :: View next topic |
| Author |
Message |
xbeta Junior Member

Joined: 03 Jan 2006 Posts: 18
|
Posted: Fri Jul 25, 2008 12:39 am Post subject: "find text" not work in file type based color |
|
|
update 2008-07-25:
thanks to icfu's reply.
conclusion:
- yes, find text did not work in this case directly
- for performance reseons
- if you really want it, use content plugin
------------------------------------------
TC can define colors by file type,
and here, I think, file type means a set of options of file search.
among these options, there is a "find text".
It works for search, but NOT work for color.
eg: highlight *.txt ONLY with string "done"
but all .txt highlighted.
| Code: | [searches]
done_SearchFor=*.txt
done_SearchIn=
done_SearchText=done
done_SearchFlags=0|000002000020|||||||||0000|
[Colors]
ColorFilter1=>done
ColorFilter1Color=16711680 |
tested:
my daily used TC,
a origin TC (just setup, no more options & plugins),
both v7.03,
windows XP SP2 Simplified Chinese
I got the same result.
find no clues when searching this forum.
maybe this one have some relations:
http://ghisler.ch/board/viewtopic.php?t=10182
Last edited by xbeta on Fri Jul 25, 2008 2:00 am; edited 1 time in total |
|
| Back to top |
|
 |
icfu Power Member

Joined: 10 Sep 2003 Posts: 6023
|
Posted: Fri Jul 25, 2008 1:20 am Post subject: |
|
|
TC would not be usable anymore if on each directory change it would have to scan big files for text...
If TC will be equipped with some kind of desktop search functionality one day, it would be feasible to do that, because then it could load the information from database, without stressing the hard disk permanently.
Until then, as explained in the linked thread, you have to use content plugins, like TextSearch:
http://www.totalcmd.net/plugring/TextSearch.html
Read the readme, you have to uncomment plaintext searching!
Anyway, make sure that your box is fast enough and the files are small enough...
Icfu _________________ This account is for sale |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 3763 Location: Valsted, Denmark
|
Posted: Fri Jul 25, 2008 2:06 am Post subject: |
|
|
| Quote: | | Read the readme, you have to uncomment plaintext searching! |
If you don't want to install .Net Framework 2.0 (in order to use the included IFilter for searching in .txt files) then just add:
to the TextSearch.ini file - it seems to work. _________________ #524
Danish Total Commander Translator & Private Beta Tester
Win XP SP3 & Win 7 64bit. TC 7.55a
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
xbeta Junior Member

Joined: 03 Jan 2006 Posts: 18
|
Posted: Fri Jul 25, 2008 3:13 am Post subject: |
|
|
thanks a lot.
this requriement is from somebody else.
I have forward these explanations and solutions to him.
and, suggest him to avoid using TC this way. |
|
| Back to top |
|
 |
|