code: function _addToMROFList(file, paneId, cursorPos) {
  
          var filePath = file.fullPath;
          
          if (!paneId) { // Don't handle this if not a full view/editor
              return;
          }
  
  
          // Check existing list for this doc path and pane entry
          var index = _.findIndex(_mrofList, function (record) {
              return (record && record.file === filePath && record.paneId === paneId);
          });
  
          var entry;
          if (index !== -1) {
              entry = _mrofList[index];
              if (entry.cursor && !cursorPos) {
                  cursorPos = entry.cursor;
              }
          }
  
          entry = _makeMROFListEntry(filePath, paneId, cursorPos);
  
          // Check if the file is an InMemoryFile
          if (file.constructor.name === "InMemoryFile") {
              // Mark the entry as inMem, so that we can knock it off from the list when removed from working set
              entry.inMem = true;
          }
  
  
          if (index !== -1) {
              _mrofList.splice(index, 1);
          }
  
          // add it to the front of the list
          _mrofList.unshift(entry);
  
          PreferencesManager.setViewState(OPEN_FILES_VIEW_STATE, _mrofList, _getPrefsContext(), true);
      }
docs: Adds an entry to MROF list
  @private
  @param {Editor} editor - editor to extract file information