Skip navigation
Currently Being Moderated

Find/Replace highlights the wrong code

Jun 19, 2013 1:57 PM

Hi, when using the normal Find and search for specific text in my AS3 class file, it highlights the right position where it found the matching text, but when I use the Find/Replace it totally messes up, it highlights the wrong text in my code, but it displays the right position in the Find/Replace window. Is there a way to fix that, or is this a known bug? See attached screenshot.

 

Screen Shot 2013-06-19 at 10.56.15 PM.png

 
Replies
  • Currently Being Moderated
    Jun 20, 2013 1:13 AM   in reply to vlceversa

    ON find/replace,text is replaced and then entire replaced text is selected.

    Are you facing this problem always or in some particular senario?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 6:11 AM   in reply to vlceversa

    Can you upload a video reproducing the issue if possible ?

     

    [mod addendum]: here's info on attaching a video, http://forums.adobe.com/message/4209263#4209263

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 11:03 PM   in reply to vlceversa

    HI,

    THANKS for uploading  the video.

    BTW I am really unable to reproduce the issue.

    Is this file specific issue?

    If yes,can you upload the file.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 2, 2013 6:32 AM   in reply to vlceversa

    Hi,

    Could you please upload the specific file so that we can investigate this issue further?

     

    Thanks!

    Mohan

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 9, 2013 11:41 PM   in reply to vlceversa

    Hi,

    Thanks for sharing the file.

    The issue is with the End of Line(EOL) character. The file uses CR notation for its EOL and was used in Mac OS version upto 9 and in Mac OS 9. When a file is created using any of those versions of Mac OS then the EOL character would be CR which is obsolete now and is not recognized by many modern text editors.

    If the EOL is LF or CR|LF then the Find and Replace will work as expected in Flash CC.

    You can change the EOL of the file by opening and saving the file in Wordpad which will change the EOL to CR|LF.

     

    Hope this information will help resolve your issue.

     

    Thanks!

    Mohan

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2013 7:59 AM   in reply to vlceversa

    Okay, can you please confirm the following

    1. It happens when the EOL is CR and

    2. it works fine when you open and save the file in Wordpad

     

    Thanks!

    Mohan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

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