After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342537 - Replace across files fails some cases.
Replace across files fails some cases.
Status: RESOLVED DUPLICATE of bug 352762
Product: bluefish
Classification: Other
Component: application
1.0.4
Other Linux
: Normal normal
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-05-22 01:43 UTC by John Kawakami
Modified: 2006-08-27 02:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description John Kawakami 2006-05-22 01:43:57 UTC
Global replace across multiple files has an unusual behavior if you're searching for some characters and replacing it with some other characters.

Test case -- make two files.  They are similar save for the fact that the latter has one less character.  Note that the lines end with the "registered" symbol, or the "trademark" symbol.

First file:
FOO BAR®
FOO BAR™
FOO BAR®
FOO BAR™

Second file:
FOO BAR
FOO BAR™
FOO BAR®
FOO BAR™

Do a Search and Replace for TM, replacing it with ™.

The second replacement on the second file will look like this:

FOO BAR
FOO BAR™FOO BAR®
FOO BA™

I'm suspecting that a char offset is being used on multibyte strings, or something like that.
Comment 1 Dave Meikle 2006-07-07 21:52:50 UTC
This appears to be working fine in CVS.

Can you check that one?

Cheers,
Dave
Comment 2 Jim Hayward 2006-08-27 02:01:31 UTC
Marking this as a duplicate of the just fixed http://bugzilla.gnome.org/show_bug.cgi?id=352762 in the 1.0.x branch of CVS. This bug is not present in CVS HEAD. 



*** This bug has been marked as a duplicate of 352762 ***