Page 1 of 1

Selectable Syntax Hiliting (per document, at runtime)

Posted: Thu Jun 16, 2005 5:10 pm
by grahamparker
I work with piles of SQL/XML files coming from/going to many different people, each of which have different standards for file extensions. It would be nice to have a drop down on the toolbar allowing selection of the document type, so that I don't have to register the extension and choose the syntax file each time. The problem really comes in when I have two docs from different people with the same extension that have different content type.

Posted: Thu Jun 16, 2005 5:23 pm
by MudGuard
Press Alt-Return (document properties), switch to Syntax tab, select Syntax file you want to have applied, click on Ok.

Applying a document class

Posted: Tue Jul 12, 2005 11:16 am
by ecombro
(Just searching for a solution to the same issue.)

Thanks Mudguard... that's most useful.

Can it go a step further? as I also want to change the colors. Ideally I want to change the document class as suggested at the beginning of this post.

Cheers.