1999-05-28 02:21:48 +04:00
|
|
|
<?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):
|
|
|
|
-->
|
|
|
|
|
1999-05-28 02:21:48 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
|
1999-09-02 08:55:52 +04:00
|
|
|
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
|
1999-10-26 01:57:11 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-10-28 05:51:07 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/editor.dtd">
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-10-27 03:13:00 +04:00
|
|
|
<!-- NOTE: If we don't have "title" set, text editor doesn't work! -->
|
1999-05-28 02:21:48 +04:00
|
|
|
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-10-26 01:57:11 +04:00
|
|
|
onload="TextEditorOnLoad()"
|
1999-10-27 03:13:00 +04:00
|
|
|
onunload="EditorShutdown()"
|
|
|
|
title="&textEditorWindow.titlemodifier;"
|
1999-10-20 18:15:25 +04:00
|
|
|
titlemodifier="&textEditorWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
|
|
|
|
align="vertical"
|
1999-08-03 02:29:19 +04:00
|
|
|
width="640" height="480">
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-10-26 01:57:11 +04:00
|
|
|
<html:script language="JavaScript" src="chrome://editor/content/EditorCommands.js"/>
|
1999-07-09 00:05:35 +04:00
|
|
|
|
1999-05-28 02:21:48 +04:00
|
|
|
<broadcaster id="args" value="chrome://editor/content/EditorInitPagePlain.html"/>
|
|
|
|
<broadcaster id="canPrint"/>
|
|
|
|
|
1999-06-07 23:21:33 +04:00
|
|
|
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
|
|
|
|
<broadcaster id="dialog.start" ready="false"/>
|
1999-10-16 01:58:49 +04:00
|
|
|
<observes element="dialog.start" attribute="ready" onbroadcast="EditorStartup('text', document.getElementById('content-frame'))"/>
|
1999-06-07 23:21:33 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<!-- broadcaster nodes are appended here from the overlays -->
|
|
|
|
<broadcasterset id="broadcasterset">
|
|
|
|
</broadcasterset>
|
1999-07-31 15:30:46 +04:00
|
|
|
|
1999-10-26 01:57:11 +04:00
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="defaultKeySet"/>
|
|
|
|
|
1999-10-28 05:51:07 +04:00
|
|
|
<menubar>
|
1999-09-02 08:55:52 +04:00
|
|
|
<menu id="fileMenu"/>
|
|
|
|
<menu id="editMenu"/>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-08-11 00:55:14 +04:00
|
|
|
<menu value="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
|
1999-09-02 08:55:52 +04:00
|
|
|
<menupopup>
|
|
|
|
<menuitem id="compToolbarMenuitem"/>
|
|
|
|
<menuitem id="formatToolbarMenuitem"/>
|
|
|
|
<menuseparator />
|
|
|
|
<menuitem id="viewSourceMenuitem"/>
|
|
|
|
<menuseparator />
|
|
|
|
<menu id="charsetMenu"/>
|
1999-10-28 03:10:51 +04:00
|
|
|
<menu id="charsetMenu1"/>
|
|
|
|
<menu id="charsetMenu2"/>
|
|
|
|
<menu id="charsetMenu3"/>
|
|
|
|
<menu id="charsetMenu4"/>
|
|
|
|
<menu id="charsetMenu5"/>
|
1999-09-02 08:55:52 +04:00
|
|
|
</menupopup>
|
1999-05-28 02:21:48 +04:00
|
|
|
</menu>
|
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<menu id="insertMenu"/>
|
1999-08-03 02:29:19 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<!-- tasks menu filled from tasksOverlay -->
|
|
|
|
<menu accesskey="t" id="tasksMenu"/>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<!-- DEBUG only -->
|
|
|
|
<menu id="debugMenu" />
|
|
|
|
<!-- end DEBUG only -->
|
|
|
|
|
|
|
|
<!-- help menu filled from globalOverlay -->
|
1999-09-12 06:50:24 +04:00
|
|
|
<menu accesskey="h" id="menu_Help"/>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<spring flex="100%"/>
|
1999-10-28 05:51:07 +04:00
|
|
|
</menubar>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-10-28 05:51:07 +04:00
|
|
|
<toolbox>
|
1999-09-02 08:55:52 +04:00
|
|
|
<!-- toolbar filled out from editorOverlay -->
|
1999-10-30 02:33:34 +04:00
|
|
|
<toolbar id="EditToolbar" class="standard" persist="collapsed">
|
1999-09-02 08:55:52 +04:00
|
|
|
<titledbutton id="newButton"/>
|
|
|
|
<titledbutton id="openButton"/>
|
|
|
|
<titledbutton id="saveButton"/>
|
1999-10-30 02:33:34 +04:00
|
|
|
<toolbarseparator/>
|
1999-09-02 08:55:52 +04:00
|
|
|
<titledbutton id="printButton"/>
|
|
|
|
<titledbutton id="findButton"/>
|
|
|
|
<titledbutton id="spellingButton"/>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<spring flex="100%"/>
|
1999-10-26 01:57:11 +04:00
|
|
|
</toolbar>
|
1999-09-02 08:55:52 +04:00
|
|
|
</toolbox>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-10-16 01:58:49 +04:00
|
|
|
<editor type="content-primary" id="content-frame" src="about:blank" flex="100%"/>
|
1999-05-28 02:21:48 +04:00
|
|
|
|
1999-09-02 08:55:52 +04:00
|
|
|
<!-- status bar, from editorOverlay.xul -->
|
1999-10-28 05:51:07 +04:00
|
|
|
<box id="status-bar" />
|
1999-05-28 02:21:48 +04:00
|
|
|
|
|
|
|
</window>
|