This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Front End / Front End Options / Editing Options /

StyleBoxAutoDelete

FilledSmallSquare StyleBoxAutoDelete is an option for cells that determines if a StyleBox wrapped around an expression should be automatically removed when the expression is edited.

FilledSmallSquare 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 RuleTrue, the red color will disappear as soon as the user edits the expression.

FilledSmallSquare The default setting is StyleBoxAutoDelete RuleFalse.