Page 1 of 1

Normal Text Search Option

Posted: 2011-06-26, 15:41 UTC
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.

Posted: 2011-06-26, 17:16 UTC
by petermad
Support for this as an option - preferably one that can be set in the search dialogs and that will stick.

Re: Normal Text Search Option

Posted: 2025-04-05, 12:47 UTC
by white
Support++

Re: Normal Text Search Option

Posted: 2025-04-06, 02:18 UTC
by Galizza
Support+

Re: Normal Text Search Option

Posted: 2025-04-06, 11:53 UTC
by Juancho
Support, please.
Option in the ini file is enought.