Document Class Extensions

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Chris Bain

Document Class Extensions

Post by Chris Bain »

I have a document class set up, and under the "Files in Class" I wanted to use items like

sp_*.txt
*_sql.txt
*.sql.txt

However, files that meet that criteria end up falling under the Text class (Because it has *.txt). I want all other *.txt to fall under the Text class, but Anything that meets the above criteria to go under a different class. Basically, I want some order that classes are checked. Is there any way to do that?

Thanx,
-Chris
moderator

RE: Document Class Extensions

Post by moderator »

Dear Chris

TextPad does check the Document classes in order starting at the bottom with the "Text" document class and finishing with the "Default" document class (on the Document class page in the Preferences dialog page). Just make sure your document classes that include *.sql.txt etc... go before the "Text" document class e.g.

Default
Binary
etc...
Text
Txt New Class

Txt New Class being the class containing *.sql.txt etc...

Kind Regards

Heidi-Marie
Chris Bain

RE: Document Class Extensions

Post by Chris Bain »

Yes, that worked, thank you so much.
moderator

RE: Document Class Extensions

Post by moderator »

Hi again

You are very welcome. Thanks for letting me know that worked.

Kind Regards

Heidi-Marie
Chris Denesha

RE: Document Class Extensions

Post by Chris Denesha »

Can you please elaborate just a bit more? I do not see a way to order the classes, unless I am blind. I also didn't find this in the help files - so I would like to recommend that some of these great forum-answers be added to the help files for the future, if you aren't already doing it.

thanks,

chris
Post Reply