rem: gIsUNIX = (navigator.appVersion.indexOf("X11") || 
add: gIsUNIX = (navigator.appVersion.indexOf("X11") || 
context: function EditorSharedStartup(){  // set up JS-implemented commands for Text or HTML editing  switch (editorShell.editorType)  {    case "html":    case "htmlmail":      SetupHTMLEditorCommands();      break;    default:      dump("INVALID EDITOR TYPE: "+editorShell.editorType+"\n");      // Fall throught to implement just text?    case "text":    case "textmail":      SetupTextEditorCommands();      break;  }  // Just for convenience  gContentWindow = window._content;  gIsWindows = navigator.appVersion.indexOf("Win") != -1;  gIsUNIX = (navigator.appVersion.indexOf("X11") ||              navigator.appVersion.indexOf("nux")) != -1;  gIsMac = !gIsWindows && !gIsUNIX;  //dump("IsWin="+gIsWindows+", 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();  // Use global prefs if EditorStartup already run,   //   else get service for other editor users  if (!gPrefs) GetPrefsService();    // Use browser colors as initial values for editor's default colors  var BrowserColors = GetDefaultBrowserColors();  if (BrowserColors)  {    gDefaultTextColor = BrowserColors.TextColor;    gDefaultBackgroundColor = BrowserColors.BackgroundColor;  }//dump(" *** EditorShared startup: gDefaultTextColor="+gDefaultTextColor+", gDefaultBackgroundColor="+gDefaultBackgroundColor+"\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/editor.js/buggy/editor/ui/composer/content/editor.js