Skip navigation
Currently Being Moderated

Text found via search stays highlighted perpetually

Jun 14, 2013 10:28 AM

Tags: #flash_builder #highlighted_text #search_help

Does anyone know how to fix this annoying problem in Flash Builder 4.7?

 

  1. Click Search > Search (or press Ctrl+H).
  2. On the 'File Search' tab, enter some text that you know will be found.
  3. Click 'Search'.
  4. In the 'Search' view, double-click one of the results so its file opens in the editor.

    At this point, the text found via the search is highlighted (purple by default), which is what you want.

  5. Now close the 'Search' view.

 

Result: The text found via the search remains highlighted (and everywhere else in the project), which is not what you want.

 

It didn't used to be this way for me. When I closed the 'Search' view in the past, all the highlighted terms became unhighlighted. (Note that my 'Mark Occurrences' button is not toggled.) Is there some obscure option somewhere to keep text highlighted after the 'Search' view has been closed? (I certainly didn't enable such a feature, but if it exists I'd love to disable it.)

 

Thanks,

Rob

 
Replies
  • Currently Being Moderated
    Jun 17, 2013 2:32 AM   in reply to Stenrap2

    Hey Stenrap2,

     

    I was just trying to replicate what you've mentioned. For me the highlighted search criteria only stays highlighted when the search tab is open AND the search criteria is still in the search history. As soon as it's removed from the search history or the search tab is closed the highlighted occurances in the code are removed. This is the behaviour that is expected.

     

    From what you've mentioned I've understood that the occurances stayed highlighted even after closing the search. Firstly a real simple question, have you got the critieria highlighted with the cursor? By default the search occurances and the "normal" occurances are the same colour.

     

    Other than that it sounds like you may have some sort of corrupt preferences / install, maybe a workspace refresh will work, if not and if it's worth it, do a re-install.

     
    |
    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