private void setKit(){
        if(global.getManager().scriptEngine.equals(lastEngine))
            return ;
        if(addons.Syntax.loaded){
            if (global.getManager().scriptEngine.equals("JavaScript"))
                Content.setEditorKit((EditorKit) addons.Syntax.js);
            else if (global.getManager().scriptEngine.equals("python"))
                Content.setEditorKit((EditorKit) addons.Syntax.py);
            else
                Content.setEditorKit((EditorKit) addons.Syntax.plain);
            if(isHTML.isSelected())
                comment.setEditorKit((EditorKit) addons.Syntax.html);
            else
                comment.setEditorKit((EditorKit) addons.Syntax.plain);
        }
    }