Actually check to code to see what mode to go into
Submitted by Friday, 7 May, 2004 - 21:21
on
Right now (as far as I know), jEdit checks the file extension (.c or .java for example) to decide what editing mode to go into. However, both C, Objective-C and C++ all use .h files. And the default is to go into Objective-C. Would it be possible to have jEdit actually check the code (for instance, if there's "class" inside a .h file, it's obviously c++) as well as the extension? This way I won't have to manually change the editing mode (which affects the syntax highlighting).