Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

The color of a selection is controlled by the operating system. E.g., enter the following code in separate cells.

nb=EvaluationNotebook[]

SelectionMove[nb, Next, CellContents]  

2+2

and the 2+2 will be selected and highlighted. One gets the same color highlighting text or input using the Mouse.

Is there a way to over-rule the OS and change the selection color using the Option Inspector...? I've searched for likely terms in the Option Inspector..., such as "Selection" and "Highlight", without success.

share|improve this question
    
Maybe you can use SelectionMove[nb, Next, CellContents]; SetOptions[NotebookSelection[], {Background -> Green}] and figure a way to make it dynamical. –  Silvia May 9 '13 at 11:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.