public/js/vendor/codemirror3/mode/stex/stex.js
function getMostPowerful(state) {
        var context = state.cmdState;
        for (var i = context.length - 1; i >= 0; i--) {
            var plug = context[i];
            if (plug.name == "DEFAULT") {
                continue;
            }
            return plug;
        }
        return { styleIdentifier: function() { return null; } };
    }
function getMostPowerful(state) {
        var context = state.cmdState;
        for (var i = context.length - 1; i >= 0; i--) {
            var plug = context[i];
            if (plug.name == "DEFAULT") {
                continue;
            }
            return plug;
        }
        return { styleIdentifier: function() { return null; } };
    }
function getMostPowerful ( state ) { var context = state . cmdState ; for ( var i = context . length - 1 ; i >= 0 ; i -- ) { var plug = context [ i ] ; if ( plug . name == "DEFAULT" ) { continue ; } return plug ; } return { styleIdentifier : function ( ) { return null ; } } ; }
returns the non-default plugin closest to the end of the list
returns the non - default plugin closest to the end of the list