Hi,
I'm trying to get Textpad to recognize files called "makefile" as a part of the "Makefiles" class. For some reason it just isn't working.
I created a new document class called "Makefiles". I assigned it members of ...
makefile
makefile.
makefile.*
makefile*.*
*makefile*.*
*makefile*
(note that the only name I use for makefiles is "makefile" - no extension, but it didn't work with just the "makefile" member, so I added the rest).
Then went ahead and made adjustments to the document class (eg tabs, unix line ending, etc).
However whenever I open the makefile files, it always defaults to the textclass.
Questions are:
* how do I determine which file class it is using?
* how do I force it to use a different file class?
* how do I encourage it to use the makefile class automatically for files called "makefile" (no extension)?
Can anyone help?
Regards,
Brodie.
Document classes
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Andreas
Re: Document classes
The document classes are matched from the bottom of the list to the top.
For example, if your list looked like this:
mytexts matching: abc*.txt
text matching *.txt
all txt files would end up in text, even if they are called abc1.txt.
Rename your document class to something like
ZZZMakefiles
so it gets the last place in the list,
or remove any class matching *
or ...
For example, if your list looked like this:
mytexts matching: abc*.txt
text matching *.txt
all txt files would end up in text, even if they are called abc1.txt.
Rename your document class to something like
ZZZMakefiles
so it gets the last place in the list,
or remove any class matching *
or ...