Text search problem
Moderators: fgagnon, nikos, Site Mods
Text search problem
I have a problem with 2.5.0.5
A text file I have has the following in it:
$cat_list
If I do search on $ it is ok, $c is also ok, but a search on $ca or longer does not find anything.
I have tried both the standard and unicode versions.
Any suggestions?
John
A text file I have has the following in it:
$cat_list
If I do search on $ it is ok, $c is also ok, but a search on $ca or longer does not find anything.
I have tried both the standard and unicode versions.
Any suggestions?
John
$ has a special meaning (see under 'Special characters' in the find dialog)
To prevent Editor2 from interpreting a $-sign as special character in combination with the two following characters, just type it twice in the search field
try: $$ca
and you will find your text
@Nikos, leaves the fact that $ca is undocumented as special character? I presume it is interpreted as a special char (just as $0D is), but this yields undesirable results (what does $ca mean??). Can you limit the use of $ prefixing to the known set of special characters? If the chars after the $-sign don't match to form any of the known special ones, just process it as a $ sign?
To prevent Editor2 from interpreting a $-sign as special character in combination with the two following characters, just type it twice in the search field
try: $$ca
and you will find your text
@Nikos, leaves the fact that $ca is undocumented as special character? I presume it is interpreted as a special char (just as $0D is), but this yields undesirable results (what does $ca mean??). Can you limit the use of $ prefixing to the known set of special characters? If the chars after the $-sign don't match to form any of the known special ones, just process it as a $ sign?
Dumb questions are the ones that are never asked
That's a good idea, jko ... I agree.
Nikos, I know that you want Editor² to be able to find any character/byte by its hex-code in a file, but IMO that should be an option, not the default.
Even though the $$ workaround is described in Help | Information, the app is so otherwise-intuitive to use, most folks (JRz excepted) never think to look there.
So, how about adding a 5th tick-box to the "find text" options list?
viz: [_] $xx finds character/byte(hex)
Nikos, I know that you want Editor² to be able to find any character/byte by its hex-code in a file, but IMO that should be an option, not the default.
Even though the $$ workaround is described in Help | Information, the app is so otherwise-intuitive to use, most folks (JRz excepted) never think to look there.
So, how about adding a 5th tick-box to the "find text" options list?
viz: [_] $xx finds character/byte(hex)