Is it possible to set a default syntax highlighting?

General questions about using TextPad

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

Post Reply
vb.net
Posts: 10
Joined: Tue Jun 10, 2003 4:02 am

Is it possible to set a default syntax highlighting?

Post by vb.net »

Hi,

I would like to highlight every file type (*.*) with the same .syn def. Actually, what I'm trying to do exactly, is to use the Perl syntax to highlight every file type, especially files without an extension. However, it warns me that "*.* is a part of Default and Perl". The result is that files without an extension are not being syntactically highlighted, even though I included both *.* and * in the Perl document class.

Is it possible to have the Perl document class highlight files without an extension?
bveldkamp

Post by bveldkamp »

Add *. as a filefilter to your Perl class.
vb.net
Posts: 10
Joined: Tue Jun 10, 2003 4:02 am

Post by vb.net »

Thank you very much 8)
Post Reply