Groups | Blog | Home
all groups > vb.net > march 2005 >

vb.net : replace oddity


guy
3/23/2005 10:27:02 PM
why if i do a select on ablock of text (in vs2003) when i do a find/replace
is find next and replace disabled? replace all is there but i may well not
want to do that?
if i pick any of the other 'search' options replace and find next are enabled.
why?

Terry Burns
3/24/2005 10:17:04 AM
Good Question.

I suspect the logic was that instances of the item you want to replace
should be searched for whever they are with an option to selectively
replace. Whereas it would make less sense ( or may do ) and is less likely
to be a requirement to only replace this within the selection. Nevertheless,
you do have a point, perhaps they should have made this optional. I suspect
it's a concious design feature. !

--
Terry Burns
http://TrainingOn.net





[quoted text, click to view]

guy
3/27/2005 11:11:02 AM
glad you agree - at least a bit!
its a real pain when you want to replace dr in your selection with
theDataReader or whatever and it mangles drawing and drat too!


guy

[quoted text, click to view]
AddThis Social Bookmark Button