QuickSearch eXtended

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

Moderators: white, sheep, Hacker, Stefan2

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

Re: QuickSearch eXtended

Post by *Samuel » 2018-08-10, 01:03 UTC

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: 292
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Re: QuickSearch eXtended

Post by *LonerD » 2018-08-11, 10:47 UTC

Samuel wrote:
2018-08-10, 01:03 UTC
Try to set debuglevel to 2.
How can I do it?
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
Stefan2
Power Member
Power Member
Posts: 2181
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: QuickSearch eXtended

Post by *Stefan2 » 2018-08-11, 13:11 UTC

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: 1861
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Re: QuickSearch eXtended

Post by *Samuel » 2018-08-11, 19:57 UTC

Perhaps no need to, because I could reproduce it. However solving this would probably need a rewrite.

Alexisback
Junior Member
Junior Member
Posts: 46
Joined: 2016-10-26, 20:04 UTC

Re: QuickSearch eXtended

Post by *Alexisback » 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:

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

Re: QuickSearch eXtended

Post by *Samuel » 2018-10-11, 10:01 UTC

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: 236
Joined: 2005-10-27, 14:09 UTC

Re: QuickSearch eXtended

Post by *franc » 2018-11-02, 20:17 UTC

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: 1861
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Re: QuickSearch eXtended

Post by *Samuel » 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.

Dennis_Stevens
Member
Member
Posts: 133
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: QuickSearch eXtended

Post by *Dennis_Stevens » 2018-11-08, 20:20 UTC

@Samuel:
MATIXX proposed to show you this:
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 9.21A

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

Re: QuickSearch eXtended

Post by *Samuel » 2018-11-09, 06:28 UTC

Dennis_Stevens wrote:
2018-11-08, 20:20 UTC
@Samuel:
MATIXX proposed to show you this:
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: 1259
Joined: 2007-05-21, 12:17 UTC

Re: QuickSearch eXtended

Post by *tuska » 2018-11-12, 14:04 UTC

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): https://ghisler.ch/board/viewtopic.php?p=348754#p348754

User avatar
Ovg
Power Member
Power Member
Posts: 555
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: QuickSearch eXtended

Post by *Ovg » 2018-11-12, 15:39 UTC

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 9.21a x64, Windows 7 SP1 x64

User avatar
tuska
Power Member
Power Member
Posts: 1259
Joined: 2007-05-21, 12:17 UTC

Re: QuickSearch eXtended

Post by *tuska » 2018-11-12, 16:37 UTC

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: 555
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: QuickSearch eXtended

Post by *Ovg » 2018-11-12, 18:33 UTC

2tuska
Thanks for sharing!
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 9.21a x64, Windows 7 SP1 x64

franc
Senior Member
Senior Member
Posts: 236
Joined: 2005-10-27, 14:09 UTC

Re: QuickSearch eXtended

Post by *franc » 2018-11-12, 20:30 UTC

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