Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Search and Replace in MS products

Search and Replace in MS products

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    <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

    M P P W 4 Replies Last reply
    0
    • C 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

      M Offline
      M Offline
      Matt Newman
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • C 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

        P Offline
        P Offline
        peterchen
        wrote on last edited by
        #3

        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

        C 1 Reply Last reply
        0
        • C 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

          P Offline
          P Offline
          pseudonym67
          wrote on last edited by
          #4

          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[^]

          1 Reply Last reply
          0
          • C 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

            W Offline
            W Offline
            Wesner Moise
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • P peterchen

              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

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #6

              peterchen 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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups