Search and Replace in MS products
-
<Office Assistant> It looks like you're having a rant! Would you like me to: o Crash the application you're currently using o Disable something critical to the operation of your current app o Randomly drop keystrokes o Corrupt your data files </Office Assistant> I'm having issues with search and replace in Office products. 1. In VS.NET 2003 if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. I can't do a Find Next / Replace. This is brain dead. 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. HAs anyone else seen this behaviour or is it just me? cheers, Chris Maunder
-
<Office Assistant> It looks like you're having a rant! Would you like me to: o Crash the application you're currently using o Disable something critical to the operation of your current app o Randomly drop keystrokes o Corrupt your data files </Office Assistant> I'm having issues with search and replace in Office products. 1. In VS.NET 2003 if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. I can't do a Find Next / Replace. This is brain dead. 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. HAs anyone else seen this behaviour or is it just me? cheers, Chris Maunder
Chris Maunder wrote: HAs anyone else seen this behaviour or is it just me? I think a better question would be has anyone seen Office behave in a correct manner? In other words I've seen this in various MS apps before. Matt Newman
Sonork: 100:11179 "Whoa, that ruled! What function key do I gotta press to get that to happen again?" - Strong Bad -
<Office Assistant> It looks like you're having a rant! Would you like me to: o Crash the application you're currently using o Disable something critical to the operation of your current app o Randomly drop keystrokes o Corrupt your data files </Office Assistant> I'm having issues with search and replace in Office products. 1. In VS.NET 2003 if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. I can't do a Find Next / Replace. This is brain dead. 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. HAs anyone else seen this behaviour or is it just me? cheers, Chris Maunder
Chris Maunder wrote: if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. But this has always been this way!!! :cool: Chris Maunder wrote: In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". Well Chris, let me first tell you how they made the internet so beautifully orange. For each page of the internet, there issomething called "HTML source", which is a very complex programming language telling the computer how a page should look like..... [drools off] ;P sorry, I couldn't resist
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen -
<Office Assistant> It looks like you're having a rant! Would you like me to: o Crash the application you're currently using o Disable something critical to the operation of your current app o Randomly drop keystrokes o Corrupt your data files </Office Assistant> I'm having issues with search and replace in Office products. 1. In VS.NET 2003 if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. I can't do a Find Next / Replace. This is brain dead. 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. HAs anyone else seen this behaviour or is it just me? cheers, Chris Maunder
Chris Maunder wrote: 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. I've found this is VS2003 I suspect that it doesn't search closed code regions at all. I have to make sure they are all opened to get the search to work. never seen it in FP though but then I don't do much with it. pseudonym67 Neural Dot Net Articles 1-11 Start Here[^] Fuzzy Dot Net Articles 1-3 Start Here[^]
-
<Office Assistant> It looks like you're having a rant! Would you like me to: o Crash the application you're currently using o Disable something critical to the operation of your current app o Randomly drop keystrokes o Corrupt your data files </Office Assistant> I'm having issues with search and replace in Office products. 1. In VS.NET 2003 if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. I can't do a Find Next / Replace. This is brain dead. 2. In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". This is also brain dead. HAs anyone else seen this behaviour or is it just me? cheers, Chris Maunder
I would not categorize #1 as a bug... Find and Replace did not have to offer "Selection only" in the first place; most products don't. Secondly, the act of performing "Find" causes the selection to be changed. Understandably, there are conflicts between maintaining the current selection and actually using the selection to indicate the text found. What's the proper way of dealing with this type of feature? 1) Saving the old selection, which also needs to track the selection accross edits and replacements. Then search for the selected text. Then when the user has finish searching, restore the selection. This is too complex and requires additional state for marginal gain. 2) Lost the current selection. But this is the same as doing find with cursor positioned at the start of the selection. 3) Punt on the feature. Disallow find all and replace all. Instead of drilling down infinitely on an obscure feature, focus on the feature set that most people everyone cares about. Also there is an simple, straightforward, effective and just as convenient work around, moving the cursor to the start of the area that you care about searching and doing find next or replace next. The Microsoft developers were trying to provide as the "selection only" feature for specifying an area constraint to "Replace All", which does not have as convenient a workaround. Remember, "Replace All" applies to everything. Bug 2 is probably caused by conflicts due "Find within HTML". This is hardly a bug. BTW: My article "Win32 Library" didn't show up in the July survey, and it is rated higher than at least one of the articles listed. Thanks, Wes Moise
-
Chris Maunder wrote: if I select some text, hit Ctrl+H and check 'Selection Only' then the only choice I have is 'Replace All'. But this has always been this way!!! :cool: Chris Maunder wrote: In FrontPage 2003 when I do a Search and Replace on some text that is staring me in the face on the screen it reports "no occurances found". Well Chris, let me first tell you how they made the internet so beautifully orange. For each page of the internet, there issomething called "HTML source", which is a very complex programming language telling the computer how a page should look like..... [drools off] ;P sorry, I couldn't resist
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygenpeterchen wrote: But this has always been this way!!! Not in the earlier beta's peterchen wrote: Well Chris, let me first tell you how they made the internet so beautifully orange ...and if I told you that the Search/Replace fails in both design and source view? cheers, Chris Maunder