src/editor/EditorStatusBar.js
function _updateLanguageInfo(editor) {
        var doc = editor.document,
            lang = doc.getLanguage();

        // Show the current language as button title
        languageSelect.$button.text(lang.getName());
    }
function _updateLanguageInfo(editor) {
        var doc = editor.document,
            lang = doc.getLanguage();

        // Show the current language as button title
        languageSelect.$button.text(lang.getName());
    }
function _updateLanguageInfo ( editor ) { var doc = editor . document , lang = doc . getLanguage ( ) ; // Show the current language as button title languageSelect . $button . text ( lang . getName ( ) ) ; }
Update file mode
@param {Editor} editor Current editor
Update file mode