Page 1 of 1

How to set Document Class Colors back to the Default Class?

Posted: Mon May 06, 2013 3:28 pm
by kengrubb
New gig, new install of TP, so I was fiddling with the colors in the Default Class. I didn't recall the Set Defaults button in the Configure, Preferences, Document Classes, <Class Name>, Colors so I changes colors in one class, then hit Set Defaults.

It appears to slam in the default color settings, regardless of what one changes in the Default class. I hunted around in ConfigState.XML and I think I found it.

<class name="COBOL" type="2">

Yes, I'm one of those.

<value name="Colors" type="blob">...</value>

Seemed simple enough to delete it from the COBOL class and then the Default class values would take over again. However, I cannot seen to be able to update ConfigState.xml, even if I close TP and update it using another tool. The values come back.

Posted: Mon May 06, 2013 3:54 pm
by kengrubb
OK, I figured it out.

Make a backup of ConfigState.XML, edit that in TP, close TP, then copy the backup to ConfigState.XML

I remain of the opinion that the Set Defaults button isn't behaving in an intuitive manner. I think clicking Set Defaults should delete the <value name="Colors" type="blob">...</value> entry in ConfigState.XML