This function has not been fully integrated into the long-term Mathematica system, and is subject to change.

is an option for selections that specifies whether a StyleBox wrapped around them should be automatically removed when the expression is edited.


  • The default setting is StyleBoxAutoDelete->False.
  • This option is useful for creating templates that require user input. For example, suppose you want to create a template for calculating integrals. You can highlight the part of the expression that the user needs to edit by displaying it in a different style, such as using a red color for the font: . If you set StyleBoxAutoDelete->True, the red color will disappear as soon as the user edits the expression.
New in 3.0
New to Mathematica? Find your learning path »
Have a question? Ask support »