Page 1 of 1

Document Class Extensions

Posted: Mon Oct 23, 2000 7:08 am
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

RE: Document Class Extensions

Posted: Mon Oct 23, 2000 7:22 am
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

RE: Document Class Extensions

Posted: Mon Oct 23, 2000 10:24 am
by Chris Bain
Yes, that worked, thank you so much.

RE: Document Class Extensions

Posted: Tue Oct 24, 2000 1:25 am
by moderator
Hi again

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

Kind Regards

Heidi-Marie

RE: Document Class Extensions

Posted: Tue Oct 31, 2000 12:40 pm
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