gecko-dev/suite/debugQA/content/debugQATextEditorShell.xul

115 строки
3.8 KiB
Plaintext
Исходник Обычный вид История

<?xml version="1.0"?>
1999-08-25 18:40:33 +04:00
<!--
- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator client code, released
- March 31, 1998.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
-->
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/editor.dtd">
<!-- NOTE: If we don't have "title" set, text editor doesn't work! -->
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="TextEditorOnLoad()"
onunload="EditorShutdown()"
title="&textEditorWindow.titlemodifier;"
titlemodifier="&textEditorWindow.titlemodifier;"
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
align="vertical"
1999-08-03 02:29:19 +04:00
width="640" height="480">
<html:script language="JavaScript" src="chrome://editor/content/EditorCommands.js"/>
<broadcaster id="args" value="chrome://editor/content/EditorInitPagePlain.html"/>
<broadcaster id="canPrint"/>
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
<broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onbroadcast="EditorStartup('text', document.getElementById('content-frame'))"/>
<!-- broadcaster nodes are appended here from the overlays -->
<broadcasterset id="broadcasterset">
</broadcasterset>
<!-- keys are appended from the overlay -->
<keyset id="defaultKeySet"/>
<menubar>
<menu id="fileMenu"/>
<menu id="editMenu"/>
<menu value="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
<menupopup>
<menuitem id="compToolbarMenuitem"/>
<menuitem id="formatToolbarMenuitem"/>
<menuseparator />
<menuitem id="viewSourceMenuitem"/>
<menuseparator />
<menu id="charsetMenu"/>
<menu id="charsetMenu1"/>
<menu id="charsetMenu2"/>
<menu id="charsetMenu3"/>
<menu id="charsetMenu4"/>
<menu id="charsetMenu5"/>
</menupopup>
</menu>
<menu id="insertMenu"/>
1999-08-03 02:29:19 +04:00
<!-- tasks menu filled from tasksOverlay -->
<menu accesskey="t" id="tasksMenu"/>
<!-- DEBUG only -->
<menu id="debugMenu" />
<!-- end DEBUG only -->
<!-- help menu filled from globalOverlay -->
<menu accesskey="h" id="menu_Help"/>
<spring flex="100%"/>
</menubar>
<toolbox>
<!-- toolbar filled out from editorOverlay -->
<toolbar id="EditToolbar" class="standard" persist="collapsed">
<titledbutton id="newButton"/>
<titledbutton id="openButton"/>
<titledbutton id="saveButton"/>
<toolbarseparator/>
<titledbutton id="printButton"/>
<titledbutton id="findButton"/>
<titledbutton id="spellingButton"/>
<spring flex="100%"/>
</toolbar>
</toolbox>
<editor type="content-primary" id="content-frame" src="about:blank" flex="100%"/>
<!-- status bar, from editorOverlay.xul -->
<box id="status-bar" />
</window>