Replace All is only doing one replace per line
Reported by Deleted User | September 2nd, 2010 @ 05:36 PM
This may be related to the replace all infinite loop issue.
If the document body is
aa
bb
cc
aa
bb
cc
If you highlight the first 'bb'
And you do find/replace 'bb' -> 'zz'
And you click replace
redcar finds the 2nd 'bb' and replaces it instead of replacing the
'bb' that is currently highlighted.
Comments and changes to this ticket
-
Daniel Lucraft September 4th, 2010 @ 12:31 PM
- State changed from new to open
Is this so obvious? What do other editors do, find-replace or replace-find?
-
Daniel Lucraft September 4th, 2010 @ 12:35 PM
OK, I believe you. The tricky part will be making it not infinitely recurse again.
-
Deleted User November 20th, 2010 @ 05:25 AM
It's got worse.
abcabc
replace all bc -> xx
becomes
axxabcIt's only doing one replace per line
-
tim.felgentreff (at student.hpi.uni-potsdam) November 20th, 2010 @ 04:37 PM
- Assigned user set to tim.felgentreff (at student.hpi.uni-potsdam)
That's actually two different tickets. The first issue has been resolved for some time.
-
tim.felgentreff (at student.hpi.uni-potsdam) November 20th, 2010 @ 04:37 PM
- Title changed from Replace does find, replace - should do replace, find next to Replace All is only doing one replace per line
-
Deleted User November 20th, 2010 @ 05:13 PM
This ticket is fixed in
https://github.com/kwerle/redcar
In particular sha 84f987cf1c4e695bcc1a96a0985035b534b17861 -
tim.felgentreff (at student.hpi.uni-potsdam) November 22nd, 2010 @ 06:31 AM
I have reworked large parts of the search and replace code. The described use-case should work now, a feature for it has been included.
-
tim.felgentreff (at student.hpi.uni-potsdam) November 22nd, 2010 @ 06:31 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.