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 663385 - Replace all hangs when replace text contains search_text
Replace all hangs when replace text contains search_text
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: search
git master
Other All
: Normal major
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
: 668062 669905 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-04 08:57 UTC by Johannes Schmid
Modified: 2012-02-12 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johannes Schmid 2011-11-04 08:57:12 UTC
Original report:

It appears to work if your replace text is entirely different than your search text, however, if your search text is contained in your replacement then it ends up in an infinite loop. For example:

Search: verbose
Replace All: get_verbose()

will loop forever.
Comment 1 Arnel Borja 2011-11-04 10:39:47 UTC
I'm actually planning to fix these while fixing the regex search that is now commited, though I'm currently busy.
Comment 2 Johannes Schmid 2011-11-13 12:34:12 UTC
This problem has been fixed in our software repository. The fix will go into anjuta 3.2.2. Thank you for your bug report.

http://git.gnome.org/browse/anjuta/commit/?id=1aac19ecb9df7818c916bd410ae247a97b760ef7
Comment 3 Johannes Schmid 2012-01-17 08:07:49 UTC
*** Bug 668062 has been marked as a duplicate of this bug. ***
Comment 4 Johannes Schmid 2012-02-12 10:22:08 UTC
*** Bug 669905 has been marked as a duplicate of this bug. ***