Normal Text Search Option

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Bartusg
Junior Member
Junior Member
Posts: 34
Joined: 2010-12-11, 22:17 UTC

Normal Text Search Option

Post by *Bartusg »

In find files - text (Alt-F7) and find text in Lister there are three exceptions; the string \t finds tab stops, \n finds line breaks and a backslash needs to be typed twice. This sometimes confuses people, not only new or occasional users:
when i look for maps\no nothing is found. But when i look for maps\No search returns me correct result.

In Lister, a search for the string "\t" in normal mode (e.g. "Reg. Expr." not checked) matches tabs (as it would in RegEx-Mode), not the real string "\t"

This is because TC supported finding tabstobs and line breaks way before support for RegEx was introduced

If a text file contains e.g. text d:\test, the search will be successful for both search patterns d:\ and d:\\, but unsuccessfull e.g. for the pattern d:\t.

Searching for Load\n or Edit\n gives false results

I was searching for files containing the text '\n'. Note that if You search for '\\n', TC finds the files containing '\n', not the files containing '\\n'
Some people use this feature daily others are unpleasantly surprised when they find out.
Therefor it would be nice to introduce an option in the dialog like Notepad++ Image: http://files.myopera.com/bartgzn/files/Notepad++.JPG
Or an option in the ini file like NormalTextSearch=1 or 0.
Normal text would be anything one can type and search for in Notepad.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Support for this as an option - preferably one that can be set in the search dialogs and that will stick.
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
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Normal Text Search Option

Post by *white »

Support++
User avatar
Galizza
Member
Member
Posts: 198
Joined: 2018-09-07, 05:21 UTC

Re: Normal Text Search Option

Post by *Galizza »

Support+
User avatar
Juancho
Junior Member
Junior Member
Posts: 4
Joined: 2025-04-04, 17:33 UTC

Re: Normal Text Search Option

Post by *Juancho »

Support, please.
Option in the ini file is enought.
Post Reply