Can I choose the syntax coloring I want used for the current document, regardless of its extension? Say for instance it's a ColdFusion .cfm file, but consists entirely of SQL, and I want to use SQL syntax coloring. Or suppose it's an unsaved document I'm just using to process some text and don't plan to save.
I'm not talking about choosing the default class for new documents. I want to choose myself, on the fly.
Thanks
Syntax choice for current document
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Re: Syntax choice for current document
Put the "*." file ending in the class you feel is right for you. Note, only use *. (star and dot).
I have mine *. under the document class HTML, handy when viewing source from IE.
Press Alt-Enter and select the Syntax tab, choose your setting for that document only.
I have mine *. under the document class HTML, handy when viewing source from IE.
And the Alt-Enter thing you aldready got...suppose it's an unsaved document I'm just using to process some text and don't plan to save.
Press Alt-Enter and select the Syntax tab, choose your setting for that document only.
HTHI'm not talking about choosing the default class for new documents. I want to choose myself, on the fly.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be