Copying Document Classes????

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Marty Karas
Posts: 2
Joined: Tue Mar 02, 2004 5:52 pm

Copying Document Classes????

Post by Marty Karas »

Is there a way to copy existing document classes to a new document class? Once I have my highlighting set I would like to duplicate it for multiple document classes without having to set them over and over again.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

I think you may have to export from registry, make copies, edit as needed, and import results back to registry.

Settings in: HKEY_CURRENT_USER\Software\Helios\TextPad 4\Document Classes\ClassName
Hope this was helpful.............good luck,
Bob
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Just one possible hack:
1. Create a .reg class, see http://textpad.com/forum/viewtopic.php?t=4956
2. Export the class you want to copy from Regedit.exe, find "helios" or
"textpad 4" gets you there
3. Edit the exported .reg file with TP to change the name of the class
4. Merge it into the registry
Repeat steps 3 and 4 as needed.
I tested this for just one class so be careful if you decide to do this,
ie. back up your registry file! :roll:
edit *arrr!* beaten to it by Bob
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

But Bob did not remember about using the REG class. :lol:
Hope this was helpful.............good luck,
Bob
Post Reply