MainFrame::setEditorSyntax function added.