src/ExCommandHistory.js
/**
     * @private
     * Retrieve current history from localStorage
     */
@private
Retrieve current history from localStorage
@private Retrieve current history from localStorage
function fetchHistory() {
        historyPosition = -1;
        var history = localStorage.getItem("fontface.vimderbar.history." + currentProject);
        if (history) {
            try {
                commandHistory = JSON.parse(history);
            } catch (e) {
                console.error("vimderbar: history parse error", e);
                commandHistory = [];
            }
        } else {
            resetHistory();
        }
    }
function fetchHistory ( ) { historyPosition = - 1 ; var history = localStorage . getItem ( "fontface.vimderbar.history." + currentProject ) ; if ( history ) { try { commandHistory = JSON . parse ( history ) ; } catch ( e ) { console . error ( "vimderbar: history parse error" , e ) ; commandHistory = [ ] ; } } else { resetHistory ( ) ; } }
@private
 Retrieve current history from localStorage
@private Retrieve current history from localStorage