This is not a fundamental question, but it puzzles me. In doing a Find & Replace for some string in a notebook, the matched string is highlighted temporarily with some background color (green for me). Does someone know how to change the background color of the matched string? I would like to make it easier to identify.

note added

As many notebook elements have editable colors through Option Inspector, I thought that the color of a searched string could also be easily modifiable, probably too optimistic...

Thank's for the proposal of m_goldberg. A user-defined Find and higlight function would be far sufficient !

  • $\begingroup$ Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory Tour now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. $\endgroup$ – bbgodfrey Aug 17 '15 at 19:49
  • $\begingroup$ Are you asking to subvert the built-in find-and-replace dialog or would you a accept a user-defined find-and-highligt function? Trying for the first would open a big can of nasty worms even if feasible (and I'm skeptical about its feasibility). The second is doable. $\endgroup$ – m_goldberg Aug 17 '15 at 23:30
  • $\begingroup$ Do you want a temporarily change (like the default) or a permanent one? $\endgroup$ – Dr. belisarius Aug 19 '15 at 17:28
  • $\begingroup$ @belisarius, I would prefer a permanent change. Thank's $\endgroup$ – djg Aug 20 '15 at 11:18
  • 1
    $\begingroup$ @belisarius. I have examined the file Find.nb but at first glance, I could not find anything related to my problem. Maybe m_goldberg is right in saying that it is a non-modifiable internal property... Don't waste your time on it, I can live with that as it is ! $\endgroup$ – djg Aug 21 '15 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.