Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I accidently evaluate a text cell in Mathematica, a orange plus and an error message will appear. It is easy to delete the error messages, however I can't seem to find a way to hide the orange plus.

My current workaround is copying contents of the cell, deleting the cell and finally pasting it again.

Screenie:

enter image description here

share|improve this question
2  
I just noticed that you said "accidently evaluate a text cell" - I'm not sure that that is possible... since by default, text cells are not evaluatable. Have you been using normal input cells for writing text instead of text cells? Maybe you should read the Working with the Notebook Interface tutorial... –  Simon Sep 26 '11 at 0:14

1 Answer 1

up vote 2 down vote accepted

It is controlled by a Cell option called EmphasizeSyntaxErrors. It can be removed by fixing the error and rerunning the cell, or manually using the cell expression or option inspector.

To view the expression of a cell, put the cursor in the cell or select its cell bracket and press Shift-Ctrl-E (also available under the Cell menu). Here's both the cell with an error and its cell expression: "Screenie"

Then just delete the
, EmphasizeSyntaxErrors->True (don't forget the comma)
or change it to
EmphasizeSyntaxErrors->False

Alternatively, select the cell bracket and go to the Option Inspector (Shift-Ctrl-O or under the format menu) then under the "Editing Options" section you'll find the EmphasizeSyntaxErrors option that you can delete/set to default (on the left hand side) or set to False (on the right hand side): Option Inspector

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.