rem: gIsWin = navigator.appVersion.indexOf("Win") != -1; 
add: gIsWindows = navigator.appVersion.indexOf("Win") != -1; 
context: function EditorSharedStartup(){  // set up JS-implemented commands  SetupControllerCommands();  // Just for convenience  gContentWindow = window._content;  gIsWin = navigator.appVersion.indexOf("Win") != -1;  gIsUNIX = (navigator.appVersion.indexOf("X11") ||              navigator.appVersion.indexOf("nux")) != -1;  gIsMac = !gIsWin && !gIsUNIX;  //dump("IsWin="+gIsWin+", IsUNIX="+gIsUNIX+", IsMac="+gIsMac+"\n");  // Set platform-specific hints for how to select cells  // Mac uses "Cmd", all others use "Ctrl"  var tableKey = GetString(gIsMac ? "XulKeyMac" : "TableSelectKey");  var dragStr = tableKey+GetString("Drag");  var clickStr = tableKey+GetString("Click");  var delStr = GetString(gIsMac ? "Clear" : "Del");  SafeSetAttribute("menu_SelectCell", "acceltext", clickStr);  SafeSetAttribute("menu_SelectRow", "acceltext", dragStr);  SafeSetAttribute("menu_SelectColumn", "acceltext", dragStr);  SafeSetAttribute("menu_SelectAllCells", "acceltext", dragStr);  // And add "Del" or "Clear"  SafeSetAttribute("menu_DeleteCellContents", "acceltext", delStr);  // Remove a Privacy menu that causes problems  // (method is in tasksOverlay.js)  HideImage();  // hide UI that we don't have components for  RemoveInapplicableUIElements();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5eafc0feeb5eafc3a8dec8ecd2e935e7be206733/editor.js/clean/editor/ui/composer/content/editor.js