"Document Classes" colors are the same for every c

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
AndroidRef
Posts: 4
Joined: Fri Apr 23, 2010 2:10 am
Contact:

"Document Classes" colors are the same for every c

Post 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.
AndroidRef
Posts: 4
Joined: Fri Apr 23, 2010 2:10 am
Contact:

Post 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.
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post 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.
Helios Software Solutions
Post Reply