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
Text search problem
Moderators: fgagnon, nikos, Site Mods
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
$ 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 
-
jko
- New Member
- Posts: 4
- Joined: 2004 Mar 04, 12:20
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
jko
- New Member
- Posts: 4
- Joined: 2004 Mar 04, 12:20
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
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)
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
jko
- New Member
- Posts: 4
- Joined: 2004 Mar 04, 12:20
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK