Page 1 of 1

Chose file type from a combobox

Posted: Tue Sep 04, 2007 12:51 pm
by Bern
ConText allows you to select the file type through a combo box. This will change syntax highlighting depending on the selected file type.

It's useful if for instance, you copy the source code from another application and want to use syntax highlighting without having to save the file with the right extension...

Posted: Tue Sep 04, 2007 2:03 pm
by MudGuard
Under View - Document Properties/Contextmenu - Properties/Alt-Return, choose the syntax tab and select whatever syntax file you want to have applied.

Posted: Tue Sep 04, 2007 3:45 pm
by Bern
OK, but would be nice to have a comboBox directly in the toolbar.