QuickSearch eXtended

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: QuickSearch eXtended

Post by *Samuel »

Try to set debuglevel to 2. There should be messages like: "Transformed File: [...] - Transformed Filter: [...]"

Edit: Seems like the multibyte code is replaced in between:

Code: Select all

Transformed File: "ghjd5hrf.txt"
Transformed Filter: "ghjdt"
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re: QuickSearch eXtended

Post by *LonerD »

Samuel wrote: 2018-08-10, 01:03 UTC Try to set debuglevel to 2.
How can I do it?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: QuickSearch eXtended

Post by *Stefan2 »

LonerD wrote: 2018-08-11, 10:47 UTC How can I do it?
You may want to read the help :D

You have got a PDF and there is a INI file. The're named 'tcmatch.*'


 
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: QuickSearch eXtended

Post by *Samuel »

Perhaps no need to, because I could reproduce it. However solving this would probably need a rewrite.
Alexisback
Junior Member
Junior Member
Posts: 80
Joined: 2016-10-26, 20:04 UTC

Re: QuickSearch eXtended

Post by *Alexisback »

when I insert the phrase and press enter the search window disappears :|
I would always like to display the search window :roll:
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: QuickSearch eXtended

Post by *Samuel »

Alexisback wrote: 2018-10-10, 22:45 UTC when I insert the phrase and press enter the search window disappears :|
I would always like to display the search window :roll:
This is TC behavior I cannot change. I for myself can understand the behavior and think it is ok.
franc
Senior Member
Senior Member
Posts: 259
Joined: 2005-10-27, 14:09 UTC

Re: QuickSearch eXtended

Post by *franc »

Hello
Thank firstly for this grandiously search tool. I love it :)
OK here is my question: how ist the RegEx Search working?
When I want to input: ?\w+
(I want to find normal letters)
The input of the "w" is not possible, only the backslash is accepted. And I have a lot of files with just letters, e.g. sdelete.exe, totalcmd.exe etc.
Why I cannot search like normal RegEx Syntax?
What I do wrong?
Thank for help.

frank

tcmatch.exe 1.1.16.5
Totaldmc 9.21a
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: QuickSearch eXtended

Post by *Samuel »

QSX uses the deelx Regexlibrary: (has a special syntax sometimes)
http://www.regexlab.com/en/deelx/

But for me "?\w+" works fine. Could you send your tcmatch.ini or try an empty one.
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: QuickSearch eXtended

Post by *Dennis_Stevens »

@Samuel:
MATIXX proposed to show you this:
https://www.ghisler.ch/board/viewtopic.php?f=2&t=51272

Maybe this is a function for your plugin.

Regards
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: QuickSearch eXtended

Post by *Samuel »

Dennis_Stevens wrote: 2018-11-08, 20:20 UTC @Samuel:
MATIXX proposed to show you this:
https://www.ghisler.ch/board/viewtopic.php?f=2&t=51272

Maybe this is a function for your plugin.

Regards
I answered there. The plugin interface is not flexible enough to implement something like this if one wanted to do so.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: QuickSearch eXtended

Post by *tuska »

2Samuel

QuickSearch eXtended: Simple search -> DEFAULT finds the following files:
  • DEFAULT.BAR
  • DEFAULT.br2
  • History.txt_FullTCHistory_Clean.txt
  • History.txt_FullTCHistory_Commented.txt
In my view, this corresponds to the 'similarity search'.
Can you check that, please? Thank you!

Regards
Karl

Reference (german forum): viewtopic.php?p=348754#p348754
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: QuickSearch eXtended

Post by *Ovg »

2tuska
I tried your test and for me working fine - DEFAULT finds only
DEFAULT.BAR
DEFAULT.br2
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: QuickSearch eXtended

Post by *tuska »

Ovg wrote: 2018-11-12, 15:39 UTC 2tuska
I tried your test and for me working fine - DEFAULT finds only
DEFAULT.BAR
DEFAULT.br2
2Ovg
Thank you for your test!

So it results for me that the content plugin "FileDiz" (only with field "Long description"), which allows me to use QuickSearch eXtended
query the TC file comments (stored in the hidden file "descript.ion"), has an unexpected effect on the search result.

Without the content plugin, the "Simple search" works as expected.

Code: Select all

tcmatch.ini
[wdx64]
wdx_text_plugin1=Long description@D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Plugins\wdx\FileDiz\FileDiz.wdx64
2Samuel
Can you please make a correction here?
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: QuickSearch eXtended

Post by *Ovg »

2tuska
Thanks for sharing!
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
franc
Senior Member
Senior Member
Posts: 259
Joined: 2005-10-27, 14:09 UTC

Re: QuickSearch eXtended

Post by *franc »

Samuel wrote: 2018-11-03, 10:25 UTC QSX uses the deelx Regexlibrary: (has a special syntax sometimes)
http://www.regexlab.com/en/deelx/

But for me "?\w+" works fine. Could you send your tcmatch.ini or try an empty one.
Thanks! Looking into the ini was the trick :)
I had (even after delete all content) in my tcmatch.ini this line:

Code: Select all

...
wdx_separator_char=\
...
So the \ (backspace) was interpreted as wdx_separator_char and not as a regex token.
Put it to / and it works.
Thanks.

frank
Post Reply