Getting CellDingbat to remember its state between Mathematica sessions
I have modified my notebook's stylesheet to include a StyleData["Todo"] that inherits from StyleData["Item"] . It changes the cell dingbat to a checkbox. In the stylesheet editor: Cell[StyleData["ToDo", StyleDefinitions -> StyleData["Item"]], CellDingbat->DynamicModuleBox[{$CellContext`color$$}, CheckboxBox[ Dynamic[$CellContext`color$$], {RGBColor[1, 0.5, 0],RGBColor[0,Rational[2, 3], 0]}, Background -> Dynamic[$CellContext`color$$]], DynamicModuleValues :> {} ], ] The problem is that the state of the checkbox, when used in a notebook, is not saved between Mathematica sessions. I thought the