Skip navigation
Currently Being Moderated

Dreamweaver CS6 "Find and Replace" not working

May 21, 2012 1:46 PM

Since I've started working in DW CS6 I've noticed that the Find and Replace feature isn't working completely.

 

E.g. If I select a block of code, then open Find and Replace, tell it to find "<br />" and replace it with "</li>" it only replaces the first instance. The rest of the <br />'s are still <br />'s.

 

Is this happening to anyone else? I may have to switch back to CS5.

 
Replies
  • Currently Being Moderated
    May 21, 2012 2:00 PM   in reply to John Stanowski

    I have no trouble with F&R in CS6.  What happens if you hit the Find All button?

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists 

    http://alt-web.com/

     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2012 2:27 PM   in reply to John Stanowski

    Mac, but which version?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2012 2:59 PM   in reply to John Stanowski

    I don't know if this is related to your problem but OSX Lion has an update that is recommended for stability.

    http://support.apple.com/kb/HT5167

     

    You can file an Adobe bug report below:

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

     

     

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists 

    http://alt-web.com/

     

     

     

     


     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2012 1:36 PM   in reply to John Stanowski

    You are clicking the Replace All button (i.e. not Replace)?

     

    And you have 'Find In' set to Current Document (i.e. not Selected Text)?

     

    What version of Mac OS are you using? e.g. 10.6.8

     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2012 4:00 PM   in reply to John Stanowski

    I can confirm.  Windows 7 x64.  Exactly the same -- select a block of text, choose 'find in selected text', choose 'replace all', and only the 1st instance is replaced.  I forgot about that when reporting several other serious FTP-related problems I've been having with DW CS6 (see separate post).  

     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2012 8:49 PM   in reply to John Stanowski

    Hmm. Just tested on 10.6.8, as well as on Windows 7 x64, but could not reproduce the issue.

     

    I'd like to find out what's going on so we can get it fixed.

     

     

    Could you share the code from one of your pages?

    (Feel free to remove any actual content and/or simplify the page.)

     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2012 10:12 PM   in reply to Carey Burgess

    Carey, I made you a screencast of the bug.   Check your messages.

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2012 10:02 AM   in reply to John Stanowski

    Confirmed bug.

    F&R on selected text doesn't work.

     

    I hope an update soon.

     
    |
    Mark as:
  • Currently Being Moderated
    May 29, 2012 11:00 AM   in reply to John Stanowski

    I appear to be getting this same error/bug.

     

    Win7 with Dreamweaver CS6.

     

    When I select a bock of code and try to "find in: selected text" and then "replace all" only the first instance is replaced.

     

    I hope this is fixed asap, as this feature is a valauble one that I use on a daily basis in my work!

     
    |
    Mark as:
  • Currently Being Moderated
    May 29, 2012 11:05 AM   in reply to evanwebdesign

    I can reproduce this error.  Find and replace in selected text is only replacing the first instance of the search text.  I will report it.

     
    |
    Mark as:
  • mattdwm
    217 posts
    Sep 6, 2010
    Currently Being Moderated
    Jun 4, 2012 3:06 PM   in reply to John Stanowski

    I have this problem too. Mac 10.7.4 and Dreamweaver CS6. Using replace all, with selected text, only replaces the first instance.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 7, 2012 5:07 AM   in reply to John Stanowski

    Just adding fuel to the fire - same issue here - Win7 x64 + DW CS6. 

    John Stanowski wrote:

     

    Since I've started working in DW CS6 I've noticed that the Find and Replace feature isn't working completely.

     

    E.g. If I select a block of code, then open Find and Replace, tell it to find "<br />" and replace it with "</li>" it only replaces the first instance. The rest of the <br />'s are still <br />'s.

     

    Is this happening to anyone else? I may have to switch back to CS5.

     

    At the moment I'm copying and pasting things in and out of Notepad++ to combat this issue - hope Adobe sort it out soon!

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 7, 2012 2:38 PM   in reply to Shh.On

    Chiming in to say I'm experiencing this replace all error too - to an infuriating level.

     

    It seems to work once in a document - then it doesn't work any subsequent times.

     

    Also - the tab order of input boxes in the "find/replace" box has been screwed up.  When my cursor is in the "find" box and I press tab (used to jump to the Replace box), now jumps to "Find in", and then through the checkbox options, and then down the buttons on the right side, and finally to the replace text input box.

     

    (Running Mac 10.7.4, Dreamweaver CS6)

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 11, 2012 2:03 PM   in reply to John Stanowski

    Same problem here.

    Adobe ruins Macromedia's masterpiece.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 12, 2012 8:12 AM   in reply to Carey Burgess

    I can confirm this bug on two different Win7 machines (x86 and x64):

     

    Original text:

     

              <ol>

                        <li>The quick brown fox jumps over the lazy dog.</li>

                        <li>Who's afraid of the big bad fox?</li>

                        <li>Fox starts with W.</li>

                        <li>This lady is foxy.</li>

              </ol>

     

    Task: Replace all instances of "fox" with "wolf" on the the middle two list items by selecting the following text.


      <li>Who's afraid of the big bad fox?</li>

      <li>Fox starts with W.</li>

     

    Output:

              <ol>

                        <li>The quick brown fox jumps over the lazy dog.</li>

                        <li>Who's afraid of the big bad wolf?</li> <!-- Replaced -->

                        <li>Fox starts with W.</li> <!-- Not replaced -->

                        <li>This lady is foxy.</li>

              </ol>

     

    Expected:


              <ol>

                        <li>The quick brown fox jumps over the lazy dog.</li>

                        <li>Who's afraid of the big bad wolf?</li>

                        <li>wolf starts with W.</li>

                        <li>This lady is foxy.</li>

              </ol>

     

     

    Doesn't work for both text and source code.

    Is there a fix coming soon?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 12, 2012 12:22 PM   in reply to John Stanowski

    Yes  - I'm getting same problem, also probs using F&R with blocks of code to replace across whole site - it just doesn't do it.

     

    Using Mac OS X Lion.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 6:09 AM   in reply to Carey Burgess

    ** ANSWER/Workaround

     

    Was having the same problem after updating from DW CS5 to CS6. Change the selection in the 'Search:' dropdown from the default 'Source:'  to 'Text' or 'Text (Advanced)' and you will get the desired result. I still do not undertand why 'Source' only changes the first occurence.

     

    Message was edited by: bracdiver

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 10:04 AM   in reply to mrd925

    bracdiver wrote:

     

    ** ANSWER/Workaround

     

    But this doesn't work on code.

     

    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>

     

    Select the code above, go to F&R

    Find in: Selected text

    Search: Text (or advanced Text)

    Find: non-breaking spaces (the actual code)

    Replace: some real text here...

    Hit Replace All button.  Nothing happens.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 10:32 AM   in reply to mrd925

    bracdiver wrote:

     

    ** ANSWER/Workaround

     

    Change the selection in the 'Search:' dropdown from the default 'Source:'  to 'Text' or 'Text (Advanced)' and you will get the desired result.

     

    bracdiver, your post may be useful in some examples, like the ones I posted above. However, this does not work in my intended example below (which is source code specific), where the actual source code needs to be replaced:

    Sample

         

    <p>These are true or false questions. Place your answer on the blank under each question.</p>

    <ol>

        <li>There are twelve in a baker's dozen</li>

        <li>35% of people are going to school.</li>

        <li>There are seven books in the Harry Potter series.</li>

        <li>The longest running play is "Les Miserables"</li>

        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>

    </ol>

           

     

    Using these options

    Find in: Selected Text (first four list items)

    Search: Source code:

     

    Find: </li>

    Replace: <br />___________________</li>

     

    Options enabled: Match case

     

    Desired output:

    <p>These are true or false questions. Place your answer on the blank under each question.</p>

    <ol>

        <li>There are twelve in a baker's dozen<br />___________________</li>

        <li>35% of people are going to school.<br />___________________</li>

        <li>There are seven books in the Harry Potter series.<br />___________________</li>

        <li>The longest running play is "Les Miserables"<br />___________________</li>

        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>

    </ol>

     

    CS6 DW output:

    <p>These are true or false questions. Place your answer on the blank under each question.</p>

    <ol>

        <li>There are twelve in a baker's dozen<br />___________________</li>

        <li>35% of people are going to school.</li>

        <li>There are seven books in the Harry Potter series.</li>

        <li>The longest running play is "Les Miserables"</li>

        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>

    </ol>

     

    Using your workaround (with 'Inside Tag' option set to li), this will not work as does not change any text at all.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 10:48 AM   in reply to Nancy O.

    I agree - it's a limited workaround but effective for a lot of the work I do.Clearly, Adobe needs to address this promptly - it's a real gaffe and productivity killer.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 10:51 AM   in reply to mrd925

    No argument - just wanted to point out that text replacement is still a helpful feature simple cases. Did not intend in any way to absolve Adobe of it urgent obligation to get this working right. Chers!

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 1:04 AM   in reply to mrd925

    Same problem here. OSL lion with CS6. Do the people at Adobe even work with dreamweaver? This is not an exotic function.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 9, 2012 8:16 PM   in reply to John Stanowski

    I have reproduced this bug on 2 seperate Windows 7 SP1 (x64) machines.  I downloaded the trial of CS6 because I'm interested in upgrading from my copy of CS4, or maybe even trying out the Creative Cloud.  I love PHP code hinting (not available in CS4) but I can't see myself shelling out money for products that destroy productivity because basic functionality does not work.

     

    Can I use CS5 or CS5.5 if I purchase a Creative Cloud membership or am I restricted to CS6?  Also, is it possible this bug is just a bad build of Dreamweaver or something and maybe, maybe Adobe has available older CS6 builds than what is available as the trial download now?  Better yet, if someone has a fix for this bug I would love that lol.  I don't want to use a second editor like Notepad++ so that I can use Dreamweaver, if I'm doing that I may as well purchase a different product.

     

    I included this is the bug report I filed, but I'll include this here for reference to other users like me who found this thread via a search engine:

     

    Dreamweaver CS6 Trial (All available updates applied)

    Windows 7 SP1 (x64) (Both Home Premium and Professional Editions, all available updates applied)

     

     

    1. Create new document (I've tested PHP and CSS, I don't see why the problem wouldn't exist elsewhere.)

    2. Switch to Code view

    3. Delete everything already there

    4. Type asdf on serveral lines

    5. Select 2 (or more) of those lines

    6. Go to Edit -> Find and Replace

    7. Set the "Find in:" option to "Selected Text"

    8. Set the "Search:" option to "Source Code" (if applicable)

    9. Type "asdf" in the "Find:" box

    10. Type "jkl;" in the "Replace:" box

    11. Click "Replace All"

     

    The expected result is that all instances of asdf you have highlighted are changed to your desired replace text.  However, only the first time "asdf" appears will it be changed.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 8:16 AM   in reply to mhazlett21

    I'm having to exit CS6 and work in CS5.5 because of this. The bug is acknowledged by Adobe, but they haven't fixed it yet. Agree that it is an absolute productivity killer, because I use find/replace to make groups of almost identical code, and I do that a lot.

     

    Come on Adobe, you can do the tough stuff - do the easy stuff too. We need this.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 12:09 PM   in reply to ultrageoffk

    If you want this to get attention, file an official bug report. 

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 30, 2012 11:53 AM   in reply to John Stanowski

    Yay!   Thanks, John.

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2014 7:13 AM   in reply to John Stanowski

    Sooooo,,,, can u tell us how to get the fix??

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2014 7:16 AM   in reply to insanenamegame
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points