More find/replace issues
More find/replace issues
- Subject: More find/replace issues
- From: "Ben Kennedy" <email@hidden>
- Date: Mon, 3 Nov 2003 17:26:59 -0500
- Organization: Zygoat Creative Technical Services
Find/replace is severely broken, eh.
Firstly, batch find is presenting duplicate results. I searched for
"AppController", and two results which were returned (consecutively in
the list) appeared like this (both referencing the same line in the same
file, but inexplicably, each shown in the list with different indentation):
[AppController substituteVersionStringsForTextView:versionText];
[AAppController substituteVersionStringsForTextView:versionText];
Secondly, "Replace All" is always available in the edit menu, even if
there is no current replacement string in the batch find panel.
Thirdly, "replace all" doesn't seem to work. At least, when I tried it,
it a) affected only the first three entries of the 36 found results, and
b) replaced the target with an empty string, instead of the replacement
string I had specified.
Fourthly, the "replace selected" button in the batch find panel
apparently does what I want, provided I have first selected all results
in the list thingy before opening the find panel. Since the find panel
is modal over the project window, this is bizarre, since it means one
can't change the selection without first dismissing the find panel, doing
so, and re-summoning it. This is a degradation from PB. And is there
some relationship between the "replace selected" button and "Replace All"
menu item?
Fifthly, once I did do the "replace selected", it really only replaced in
all of the items EXCEPT those first three entries I mentioned in
"thirdly" that were mangled by my first replace attempt.
In short, batch find/replace is scary in Xcode...
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.