Document class with no wildcard?

General questions about using TextPad

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

Post Reply
John Lindwall

Document class with no wildcard?

Post by John Lindwall »

I'm running TextPad 4.4.1 on NT 4.0.

I have a file named Notebook.txt which I'd like to be in it's own document class. I want it to have different colors and fonts then files in the *.txt document class.

I tried to create a document class and specified Notebook.txt as the "Files in class" but it doesn't seem to work, ie the file is rendered as if it is a member of *.txt document class.

Is there a way to do what I am trying to do? Thanks!
Randall McDougall

Re: Document class with no wildcard?

Post by Randall McDougall »

Actually it should work, but the document Classes are searched in reverse order (from bottom to top) and the search stops at the first match ... since "Text" is pretty far down I expect your specific name file has a class name like "Notebook" that would be picked up later ... try calling your Class "Znotes" or some such and it should work.
John Lindwall

Re: Document class with no wildcard?

Post by John Lindwall »

Thanks! That fixed it.

I assumed that the document classes would match from most specific to least specific. Now I know that it searches in reverse alphabetical order.
Post Reply