document classes for files without extensions

General questions about using TextPad

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

Post Reply
Paul R

document classes for files without extensions

Post by Paul R »

I want to set up a document class for GNUmakefile. This file has no extension. However, I have tried the following filters:

GNU*.*
GNUmakefile
GNUmakefile.
GNU*
GNUmakefile.*

None of these matches the document above. However, renaming the file to GNU.mak works fine.

I am running Textpad 4.0.

Thanks in advance for any help

paul
Andreas

Re: document classes for files without extensions

Post by Andreas »

Usually, *. is member of the txt document class.
And classes are searched for matching filenames from bottom to top IIRC

So either remove *. from txt class or rename your own class so it comes below txt.
Paul R

Re: document classes for files without extensions

Post by Paul R »

Andreas

Many thanks for this - problem sorted! :-)

paul
Post Reply