rem: for(i = 0; i < historyCount; i++) 
add: for (var i = 0; i < historyCount; i++) 
context: function BuildRecentMenu(){  // Populate the Recent Files Menu.  // Can't do anything if we don't have any prefs  if(!gPrefs) return;  // Build the submenu  var popup = document.getElementById("menupopup_RecentFiles");  if (!popup) return;  // Delete existing menu  while (popup.firstChild)    popup.removeChild(popup.firstChild);  // Again, this is changed in the next line but if the pref never existed, this default coincides with above  var historyCount = 10;   try { historyCount = gPrefs.CopyUnicharPref("editor.history.url_maximum"); } catch(e) {}  var a=1; // Keeps track of which access key to use in the menuitem  for(i = 0; i < historyCount; i++)  {    var title = getUnicharPref("editor.history_title_"+i);    var url = getUnicharPref("editor.history_url_"+i);    if (!url)      break;    // If the current url is already opened, don't put useless entries into the menu    if (url != window.editorShell.editorDocument.location)    {      AppendRecentMenuitem(a, popup, title, url);      a++;    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/145e0993e94be58c9a9a2168ca6b8cc2de5d31a3/editor.js/clean/editor/ui/composer/content/editor.js