Syntax highlighting for standard doc class

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
User avatar
nothnagel_jens
Posts: 3
Joined: Fri Feb 27, 2004 4:01 pm
Location: Schweinfurt, Germany

Syntax highlighting for standard doc class

Post by nothnagel_jens »

I´m using Textpad to edit files that may not have a file extension.
Anyhow i want to use the syntax highlighting function for these files.
But - it is not possible to select this option for the standard doc class.
Creation of a new doc class with *.* won´t work as *.* is part of the standard doc class...
Any idea ? :?:
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

You want to add the *. to your class, not *.*. Also, you can put your file endings in
any class you like, just remove it from the other class if that's the case. HTH
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
SteveH
Posts: 327
Joined: Thu Apr 03, 2003 11:37 am
Location: Edinburgh, Scotland
Contact:

Syntax highlighting for standard doc class

Post by SteveH »

You need to remove *.* from the default document class and use '*.' to create your new class. You can't just create '*.' on its own because it falls within the *.* superset and therefore doesn't get recognised.

Cheers,

Steve
User avatar
nothnagel_jens
Posts: 3
Joined: Fri Feb 27, 2004 4:01 pm
Location: Schweinfurt, Germany

Syntax highlighting for standard doc class

Post by nothnagel_jens »

I tried to remove *.* but it is not possible as it is part of the standard...
User avatar
SteveH
Posts: 327
Joined: Thu Apr 03, 2003 11:37 am
Location: Edinburgh, Scotland
Contact:

Post by SteveH »

Sorry, I might have mislead you there.

You need to remove *.* from the <i>new document class</i> that you create for this type of file. *.* stays as part of the default class but does not get included in your document class.

Cheers,

Steve
User avatar
nothnagel_jens
Posts: 3
Joined: Fri Feb 27, 2004 4:01 pm
Location: Schweinfurt, Germany

Post by nothnagel_jens »

Thank you,

it works now i had to delete the *.* from the new class plus delete the *. from the TEXT class... 8)

Cheers Jens
Post Reply