Page 1 of 1

"Document Classes" colors are the same for every c

Posted: Wed Jul 14, 2010 7:31 pm
by AndroidRef
Something strange is now happening with my version of TextPad (4.7.3).

When I change one of the syntax-highlighting colors for a document class and hit Apply, it changes in the Preferences dialog for that class. But as soon as I exit the dialog and re-open it, my color change has applied itself to every other document class as well (other than Binary and Default oddly enough). So now, I can't have differerent syntax colors for classes like Java, Properties, etc., as any change to any one class applies itself to all other classes.

Can someone explain how to fix this issue?

One note - I did try importing just the Document Classes tree from a previous Registry backup, but it didn't solve the problem.

Posted: Wed Jul 14, 2010 7:47 pm
by AndroidRef
I believe now the reason Binary and Default are excluded from the problem is that they don't have a "Colors" key in the Registry.

So basically the problem is that when I modify any color for any class, it applies itself to all classes that have a Colors Registry key.

Posted: Mon Jul 19, 2010 9:57 pm
by helios
Please try implementing the following procedure in TextPad:

From the Configure menu choose:

1. Preferences
2. "+" sign next to Document classes
3. Click on the Document Class name, (Not the + sign next to it)
4. Uncheck the option to "Apply these settings to all document classes"
5. Click Apply / OK.

Repeat for all Document Classes.

I hope this helps.