1999-09-02 08:49:24 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-09-08 18:04:41 +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) 1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
2000-08-18 06:51:46 +04:00
|
|
|
- Ryan Cassin (rcassin@supernova.org)
|
1999-09-08 18:04:41 +04:00
|
|
|
-->
|
2000-05-07 14:53:42 +04:00
|
|
|
|
1999-09-02 08:49:24 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/editorOverlay.dtd">
|
|
|
|
|
2000-03-22 06:20:53 +03:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorToolbars.css" type="text/css"?>
|
|
|
|
|
1999-09-02 08:49:24 +04:00
|
|
|
<overlay id="editorOverlay"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
1999-09-02 08:49:24 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/editorOverlay.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/ComposerCommands.js"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2001-04-05 23:53:13 +04:00
|
|
|
<keyset id="editorKeys">
|
1999-10-14 04:13:27 +04:00
|
|
|
<!-- defined in globalOverlay -->
|
2000-02-16 04:49:50 +03:00
|
|
|
<key id="key_newNavigator"/>
|
1999-10-14 04:13:27 +04:00
|
|
|
<key id="key_newBlankPage"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2000-09-22 09:02:20 +04:00
|
|
|
<key id="openeditorkb" key="&fileopen.keybinding;" observes="cmd_open" modifiers="accel"/>
|
2001-04-05 23:53:13 +04:00
|
|
|
<key id="openremoteeditorkb" key="&fileopenremote.keybinding;" observes="cmd_openRemote" modifiers="accel,shift"/>
|
2000-09-22 09:02:20 +04:00
|
|
|
<key id="savekb" key="&filesave.keybinding;" observes="cmd_save" modifiers="accel"/>
|
2001-05-08 06:16:52 +04:00
|
|
|
<!-- For bug 78255, but need too check for conflicts before using this
|
|
|
|
<key id="saveaskb" key="&filesave.keybinding;" observes="cmd_saveAs" modifiers="accel, shift"/>
|
|
|
|
-->
|
2000-09-22 09:02:20 +04:00
|
|
|
<key id="closekb" key="&fileclose.keybinding;" observes="cmd_close" modifiers="accel"/>
|
|
|
|
<key id="printkb" key="&fileprint.keybinding;" observes="cmd_print" modifiers="accel"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<key id="key_quit"/>
|
2000-02-16 04:49:50 +03:00
|
|
|
<key id="key_undo"/>
|
|
|
|
<key id="key_redo"/>
|
|
|
|
<key id="key_cut"/>
|
|
|
|
<key id="key_copy"/>
|
|
|
|
<key id="key_paste"/>
|
|
|
|
<key id="key_delete"/>
|
|
|
|
<key id="key_selectAll"/>
|
2001-04-05 23:53:13 +04:00
|
|
|
<key id="pastequotationkb" key="&editpastequotation.keybinding;" observes="cmd_pasteQuote" modifiers="accel, shift"/>
|
|
|
|
<key id="findkb" key="&editfind.keybinding;" observes="cmd_find" modifiers="accel"/>
|
|
|
|
<key id="findnextkb" key="&editfindnext.keybinding;" observes="cmd_findNext" modifiers="accel"/>
|
|
|
|
<key id="checkspellingkb" key="&editcheckspelling.keybinding;" observes="cmd_spelling" modifiers="accel"/>
|
|
|
|
|
|
|
|
<key id="boldkb" key="&stylebold.keybinding;" observes="cmd_bold" modifiers="accel"/>
|
|
|
|
<key id="italickb" key="&styleitalic.keybinding;" observes="cmd_italic" modifiers="accel"/>
|
|
|
|
<key id="underlinekb" key="&styleunderline.keybinding;" observes="cmd_underline" modifiers="accel"/>
|
|
|
|
|
2001-05-08 17:39:36 +04:00
|
|
|
<key id="fontfixedwidthkb" key="&formatfontfixed.keybinding;" oncommand="doStatefulCommand('cmd_fontFace', 'tt')" modifiers="accel"/>
|
2001-04-05 23:53:13 +04:00
|
|
|
<key id="increaseindentkb" key="&formatindent.keybinding;" observes="cmd_indent" modifiers="accel"/>
|
|
|
|
<key id="decreaseindentkb" key="&formatoutdent.keybinding;" observes="cmd_outdent" modifiers="accel"/>
|
|
|
|
|
2001-05-08 06:16:52 +04:00
|
|
|
<key id="removestyleskb" key="&formatremovestyles.keybinding;" observes="cmd_removeStyles" modifiers="accel, shift"/>
|
2001-05-08 17:39:36 +04:00
|
|
|
<key id="removelinkskb" key="&formatremovelinks.keybinding;" observes="cmd_removeLinks" modifiers="accel, shift"/>
|
|
|
|
<key id="decreasefontsizekb" key="&decreaseFontSize.keybinding;" observes="cmd_decreaseFont" modifiers="accel"/>
|
|
|
|
<key id="increasefontsizekb" key="&increaseFontSize.keybinding;" observes="cmd_increaseFont" modifiers="accel"/>
|
|
|
|
|
|
|
|
<key id="insertlinkkb" key="&insertlink.keybinding;" observes="cmd_link" modifiers="accel"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
</keyset>
|
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<!-- commands updated when the editor gets created -->
|
2000-07-15 01:58:50 +04:00
|
|
|
<commandset id="commonEditorMenuItems"
|
2001-03-22 03:59:29 +03:00
|
|
|
commandupdater="true"
|
|
|
|
events="create"
|
|
|
|
oncommandupdate="goUpdateComposerMenuItems(this)"
|
2000-05-02 01:49:52 +04:00
|
|
|
>
|
|
|
|
<command id="cmd_open" oncommand="goDoCommand('cmd_open')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_openRemote" label="&openremoteCmd.label;" oncommand="goDoCommand('cmd_openRemote')"/>
|
|
|
|
<command id="cmd_close" label="&closeCmd.label;" oncommand="goDoCommand('cmd_close')"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_printSetup" label="&printSetupCmd.label;" oncommand="goDoCommand('cmd_printSetup')"/>
|
2000-10-10 17:15:46 +04:00
|
|
|
<!--
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_printPreview" label="&printPreviewCmd.label;" oncommand="goDoCommand('cmd_printPreview')"/>
|
2000-10-10 17:15:46 +04:00
|
|
|
-->
|
2000-05-02 01:49:52 +04:00
|
|
|
<command id="cmd_print" oncommand="goDoCommand('cmd_print')"/>
|
2000-08-18 06:51:46 +04:00
|
|
|
|
2001-01-09 23:35:47 +03:00
|
|
|
<command id="cmd_quit" oncommand="goDoCommand('cmd_quit')"/>
|
2000-07-15 01:58:50 +04:00
|
|
|
</commandset>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
2000-07-15 01:58:50 +04:00
|
|
|
<commandset id="composerMenuItems"
|
2001-03-22 03:59:29 +03:00
|
|
|
commandupdater="true"
|
|
|
|
events="create"
|
|
|
|
oncommandupdate="goUpdateComposerMenuItems(this)"
|
2000-07-15 01:58:50 +04:00
|
|
|
>
|
2000-05-02 01:49:52 +04:00
|
|
|
<!-- format menu -->
|
2000-05-02 07:24:11 +04:00
|
|
|
<command id="cmd_listProperties" oncommand="goDoCommand('cmd_listProperties')"/>
|
|
|
|
<command id="cmd_pageProperties" oncommand="goDoCommand('cmd_pageProperties')"/>
|
|
|
|
<command id="cmd_colorProperties" oncommand="goDoCommand('cmd_colorProperties')"/>
|
|
|
|
|
2000-05-25 07:35:33 +04:00
|
|
|
<command id="cmd_link" oncommand="goDoCommand('cmd_link')"/>
|
|
|
|
<command id="cmd_anchor" oncommand="goDoCommand('cmd_anchor')"/>
|
|
|
|
<command id="cmd_image" oncommand="goDoCommand('cmd_image')"/>
|
|
|
|
<command id="cmd_hline" oncommand="goDoCommand('cmd_hline')"/>
|
|
|
|
<command id="cmd_table" oncommand="goDoCommand('cmd_table')"/>
|
|
|
|
<command id="cmd_objectProperties" oncommand="goDoCommand('cmd_objectProperties')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_insertChars" oncommand="goDoCommand('cmd_insertChars')" label="&insertCharsCmd.label;"/>
|
|
|
|
<command id="cmd_insertHTML" oncommand="goDoCommand('cmd_insertHTML')" label="&insertHTMLCmd.label;"/>
|
2001-04-18 06:12:48 +04:00
|
|
|
|
2001-02-16 06:33:07 +03:00
|
|
|
<command id="cmd_insertBreak" oncommand="goDoCommand('cmd_insertBreak')"/>
|
|
|
|
<command id="cmd_insertBreakAll" oncommand="goDoCommand('cmd_insertBreakAll')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_NormalMode" oncommand="goDoCommand('cmd_NormalMode')" label="&NormalMode.label;"/>
|
|
|
|
<command id="cmd_AllTagsMode" oncommand="goDoCommand('cmd_AllTagsMode')" label="&AllTagsMode.label;"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<command id="cmd_HTMLSourceMode" oncommand="goDoCommand('cmd_HTMLSourceMode')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_PreviewMode" oncommand="goDoCommand('cmd_PreviewMode')" label="&PreviewMode.label;"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
</commandset>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<commandset id="composerSaveMenuItems"
|
2001-03-22 03:59:29 +03:00
|
|
|
commandupdater="true"
|
|
|
|
events="create, save"
|
|
|
|
oncommandupdate="goUpdateComposerMenuItems(this)"
|
2000-05-02 01:49:52 +04:00
|
|
|
>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_save" label="&saveCmd.label;" oncommand="goDoCommand('cmd_save')"/>
|
|
|
|
<command id="cmd_saveAs" label="&saveAsCmd.label;" oncommand="goDoCommand('cmd_saveAs')"/>
|
|
|
|
<command id="cmd_exportToText" label="&exportToTextCmd.label;" oncommand="goDoCommand('cmd_exportToText')"/>
|
|
|
|
<command id="cmd_saveAsCharset" label="&saveAsCharsetCmd.label;" oncommand="goDoCommand('cmd_saveAsCharset')"/>
|
|
|
|
<command id="cmd_revert" label="&fileRevert.label;" oncommand="goDoCommand('cmd_revert')"/>
|
2001-02-27 01:02:07 +03:00
|
|
|
<command id="cmd_preview" oncommand="goDoCommand('cmd_preview')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_editSendPage" label="&sendPageCmd.label;" accesskey="&sendPage.accesskey;" oncommand="goDoCommand('cmd_editSendPage')"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
</commandset>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- edit menu commands. These get updated by code in globalOverlay.js -->
|
|
|
|
<commandset id="composerEditMenuItems"
|
2001-03-22 03:59:29 +03:00
|
|
|
commandupdater="true"
|
|
|
|
events="create"
|
|
|
|
oncommandupdate="goUpdateComposerMenuItems(this)"
|
|
|
|
>
|
2000-09-08 05:45:06 +04:00
|
|
|
<command id="cmd_undo"/>
|
|
|
|
<command id="cmd_redo"/>
|
|
|
|
<command id="cmd_cut"/>
|
|
|
|
<command id="cmd_copy"/>
|
|
|
|
<command id="cmd_paste"/>
|
|
|
|
<command id="cmd_delete"/>
|
|
|
|
<command id="cmd_selectAll"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
2000-05-12 03:49:30 +04:00
|
|
|
<command id="cmd_preferences" oncommand="goDoCommand('cmd_preferences')"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
2000-05-02 07:24:11 +04:00
|
|
|
<command id="cmd_find" oncommand="goDoCommand('cmd_find')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_findNext" oncommand="goDoCommand('cmd_findNext')" label="&findAgainCmd.label;"/>
|
2001-01-24 00:55:04 +03:00
|
|
|
<command id="cmd_replace" oncommand="goDoCommand('cmd_replace')" />
|
2000-05-02 07:24:11 +04:00
|
|
|
<command id="cmd_spelling" oncommand="goDoCommand('cmd_spelling')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_pasteQuote" oncommand="goDoCommand('cmd_pasteQuote')" label="&pasteAsQuotationCmd.label;"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<!-- style related commands that update on creation, and on selection change -->
|
|
|
|
<commandset id="composerStyleMenuItems"
|
2001-03-22 03:59:29 +03:00
|
|
|
commandupdater="true"
|
|
|
|
events="create, style"
|
|
|
|
oncommandupdate="goUpdateComposerMenuItems(this)"
|
|
|
|
>
|
2000-05-02 01:49:52 +04:00
|
|
|
<command id="cmd_bold" state="false" oncommand="goDoCommand('cmd_bold')"/>
|
|
|
|
<command id="cmd_italic" state="false" oncommand="goDoCommand('cmd_italic')"/>
|
|
|
|
<command id="cmd_underline" state="false" oncommand="goDoCommand('cmd_underline')"/>
|
2001-04-18 06:12:48 +04:00
|
|
|
<command id="cmd_smiley" state="" />
|
2000-05-02 01:49:52 +04:00
|
|
|
|
|
|
|
<command id="cmd_strikethrough" state="false" oncommand="goDoCommand('cmd_strikethrough')"/>
|
|
|
|
<command id="cmd_superscript" state="false" oncommand="goDoCommand('cmd_superscript')"/>
|
|
|
|
<command id="cmd_subscript" state="false" oncommand="goDoCommand('cmd_subscript')"/>
|
|
|
|
<command id="cmd_nobreak" state="false" oncommand="goDoCommand('cmd_nobreak')"/>
|
|
|
|
|
|
|
|
<command id="cmd_em" state="false" oncommand="goDoCommand('cmd_em')"/>
|
|
|
|
<command id="cmd_strong" state="false" oncommand="goDoCommand('cmd_strong')"/>
|
|
|
|
<command id="cmd_cite" state="false" oncommand="goDoCommand('cmd_cite')"/>
|
|
|
|
<command id="cmd_abbr" state="false" oncommand="goDoCommand('cmd_abbr')"/>
|
|
|
|
<command id="cmd_acronym" state="false" oncommand="goDoCommand('cmd_acronym')"/>
|
|
|
|
<command id="cmd_code" state="false" oncommand="goDoCommand('cmd_code')"/>
|
|
|
|
<command id="cmd_samp" state="false" oncommand="goDoCommand('cmd_samp')"/>
|
|
|
|
<command id="cmd_var" state="false" oncommand="goDoCommand('cmd_var')"/>
|
|
|
|
|
|
|
|
<command id="cmd_ul" state="false" oncommand="goDoCommand('cmd_ul')"/>
|
|
|
|
<command id="cmd_ol" state="false" oncommand="goDoCommand('cmd_ol')"/>
|
|
|
|
|
|
|
|
<command id="cmd_indent" oncommand="goDoCommand('cmd_indent')"/>
|
|
|
|
<command id="cmd_outdent" oncommand="goDoCommand('cmd_outdent')"/>
|
|
|
|
|
|
|
|
<!-- the state attribute gets filled with the paragraph format before the command is exectued -->
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<command id="cmd_paragraphState" state="" oncommand="goDoCommand('cmd_paragraphState')"/>
|
|
|
|
<command id="cmd_fontFace" state="" oncommand="goDoCommand('cmd_fontFace')"/>
|
|
|
|
|
|
|
|
<!-- No "oncommand", use EditorSelectColor() to bring up color dialog -->
|
|
|
|
<command id="cmd_fontColor" state=""/>
|
|
|
|
<command id="cmd_backgroundColor" state=""/>
|
|
|
|
|
|
|
|
<command id="cmd_fontSize" state="" oncommand="goDoCommand('cmd_fontSize')"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
<command id="cmd_align" state=""/>
|
2000-05-02 01:49:52 +04:00
|
|
|
|
2000-05-10 03:03:41 +04:00
|
|
|
<command id="cmd_advancedProperties" oncommand="goDoCommand('cmd_advancedProperties')"/>
|
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<command id="cmd_increaseFont" oncommand="goDoCommand('cmd_increaseFont')"/>
|
|
|
|
<command id="cmd_decreaseFont" oncommand="goDoCommand('cmd_decreaseFont')"/>
|
2000-02-16 04:49:50 +03:00
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<command id="cmd_removeStyles" oncommand="goDoCommand('cmd_removeStyles')"/>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<command id="cmd_removeLinks" oncommand="goDoCommand('cmd_removeLinks')"/>
|
2000-05-02 01:49:52 +04:00
|
|
|
</commandset>
|
|
|
|
|
2000-06-16 18:22:12 +04:00
|
|
|
<!-- commands updated only when the menu gets created -->
|
|
|
|
<commandset id="composerListMenuItems" oncommandupdate="goUpdateComposerMenuItems(this)">
|
|
|
|
<!-- List menu -->
|
|
|
|
<command id="cmd_dt" oncommand="goDoCommand('cmd_dt')"/>
|
|
|
|
<command id="cmd_dd" oncommand="goDoCommand('cmd_dd')"/>
|
2000-08-12 04:47:05 +04:00
|
|
|
<command id="cmd_removeList" oncommand="goDoCommand('cmd_removeList')"/>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<!-- cmd_ul and cmd_ol are shared with toolbar and are in composerStyleMenuItems commandset -->
|
2000-06-16 18:22:12 +04:00
|
|
|
</commandset>
|
2000-05-12 17:09:41 +04:00
|
|
|
<commandset id="composerTableMenuItems" oncommandupdate="goUpdateTableMenuItems(this)">
|
2000-06-16 18:22:12 +04:00
|
|
|
<!-- Table menu -->
|
2000-05-12 17:09:41 +04:00
|
|
|
<command id="cmd_SelectTable" oncommand="goDoCommand('cmd_SelectTable')"/>
|
|
|
|
<command id="cmd_SelectRow" oncommand="goDoCommand('cmd_SelectRow')"/>
|
|
|
|
<command id="cmd_SelectColumn" oncommand="goDoCommand('cmd_SelectColumn')"/>
|
|
|
|
<command id="cmd_SelectCell" oncommand="goDoCommand('cmd_SelectCell')"/>
|
|
|
|
<command id="cmd_SelectAllCells" oncommand="goDoCommand('cmd_SelectAllCells')"/>
|
|
|
|
<command id="cmd_InsertTable" oncommand="goDoCommand('cmd_InsertTable')"/>
|
|
|
|
<command id="cmd_InsertRowAbove" oncommand="goDoCommand('cmd_InsertRowAbove')"/>
|
|
|
|
<command id="cmd_InsertRowBelow" oncommand="goDoCommand('cmd_InsertRowBelow')"/>
|
|
|
|
<command id="cmd_InsertColumnBefore" oncommand="goDoCommand('cmd_InsertColumnBefore')"/>
|
|
|
|
<command id="cmd_InsertColumnAfter" oncommand="goDoCommand('cmd_InsertColumnAfter')"/>
|
|
|
|
<command id="cmd_InsertCellBefore" oncommand="goDoCommand('cmd_InsertCellBefore')"/>
|
|
|
|
<command id="cmd_InsertCellAfter" oncommand="goDoCommand('cmd_InsertCellAfter')"/>
|
|
|
|
<command id="cmd_DeleteTable" oncommand="goDoCommand('cmd_DeleteTable')"/>
|
|
|
|
<command id="cmd_DeleteRow" oncommand="goDoCommand('cmd_DeleteRow')"/>
|
|
|
|
<command id="cmd_DeleteColumn" oncommand="goDoCommand('cmd_DeleteColumn')"/>
|
|
|
|
<command id="cmd_DeleteCell" oncommand="goDoCommand('cmd_DeleteCell')"/>
|
|
|
|
<command id="cmd_DeleteCellContents" oncommand="goDoCommand('cmd_DeleteCellContents')"/>
|
|
|
|
<command id="cmd_NormalizeTable" oncommand="goDoCommand('cmd_NormalizeTable')"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<command id="cmd_JoinTableCells" oncommand="goDoCommand('cmd_JoinTableCells')"/>
|
|
|
|
<command id="cmd_SplitTableCell" oncommand="goDoCommand('cmd_SplitTableCell')"/>
|
|
|
|
<command id="cmd_TableOrCellColor" oncommand="goDoCommand('cmd_TableOrCellColor')"/>
|
2000-05-12 17:09:41 +04:00
|
|
|
<command id="cmd_editTable" oncommand="goDoCommand('cmd_editTable')"/>
|
|
|
|
</commandset>
|
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<broadcasterset id="broadcasterset">
|
2000-05-05 03:39:14 +04:00
|
|
|
<!-- Broadcasters/commands with no other home -->
|
|
|
|
<!-- view menu -->
|
2000-05-06 03:17:38 +04:00
|
|
|
<command id="cmd_newNavigator"/>
|
|
|
|
<command id="cmd_newEditor"/>
|
|
|
|
<command id="cmd_newEditorTemplate"/>
|
|
|
|
<command id="cmd_newEditorDraft"/>
|
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<command id="cmd_viewCompToolbar" oncommand="goToggleToolbar('EditToolbar','cmd_viewCompToolbar');" checked="true"/>
|
|
|
|
<command id="cmd_viewFormatToolbar" oncommand="goToggleToolbar('FormatToolbar','cmd_viewFormatToolbar');" checked="true"/>
|
2001-04-12 07:14:37 +04:00
|
|
|
<command id="cmd_viewEditModeToolbar" oncommand="goToggleToolbar('EditModeToolbar','cmd_viewEditModeToolbar');" checked="true"/>
|
2001-05-09 08:38:34 +04:00
|
|
|
<command id="cmd_viewtaskbar" oncommand="goToggleToolbar('status-bar','cmd_viewtaskbar');" checked="true"/>
|
2000-05-05 03:39:14 +04:00
|
|
|
|
2000-05-02 01:49:52 +04:00
|
|
|
<!-- Obsolete; these will go away -->
|
|
|
|
<command id="Editor:Font:Size" fontsize=""/>
|
1999-10-14 04:13:27 +04:00
|
|
|
</broadcasterset>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2001-01-09 23:35:47 +03:00
|
|
|
<!-- File menu items -->
|
|
|
|
<!-- Note: globalOverlay.xul uses menu_newEditor, but we want different menu item text
|
2001-03-22 03:59:29 +03:00
|
|
|
so we use our own id, label, and accesskey but connect to the same global key and broadcaster node
|
2001-01-09 23:35:47 +03:00
|
|
|
-->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="fileMenu" label="&fileMenu.label;" accesskey="&filemenu.accesskey;">
|
2001-01-09 23:35:47 +03:00
|
|
|
<menupopup id="menu_FilePopup">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_newBlankPage" label="&newBlankPageCmd.label;" accesskey="&newBlankPage.accesskey;" key="key_newBlankPage" observes="cmd_newEditor"/>
|
|
|
|
<menu id="menu_editNew" label="&newMenu.label;" accesskey="&newMenu.accesskey;">
|
2001-01-09 23:35:47 +03:00
|
|
|
<menupopup id="menu_NewPopup">
|
|
|
|
<!-- From globalOverlay.xul -->
|
|
|
|
<menuitem id="menu_newNavigator" observes="cmd_newNavigator"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2000-05-02 01:49:52 +04:00
|
|
|
<menuitem accesskey="&fileopenremote.accesskey;" key="openremoteeditorkb" observes="cmd_openRemote"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem accesskey="&fileopen.accesskey;" key="openeditorkb" observes="cmd_open" label="&openFileCmd.label;"/>
|
|
|
|
<menu id="menu_RecentFiles" accesskey="&filerecentmenu.accesskey;" label="&fileRecentMenu.label;" oncreate="BuildRecentMenu(false)">
|
2000-06-06 00:26:26 +04:00
|
|
|
<menupopup id="menupopup_RecentFiles"/>
|
2001-01-09 23:35:47 +03:00
|
|
|
<!-- menuitems appended at runtime -->
|
2000-05-03 09:17:43 +04:00
|
|
|
</menu>
|
2001-01-09 23:35:47 +03:00
|
|
|
<menuseparator/>
|
2001-02-27 01:02:07 +03:00
|
|
|
|
2000-05-10 03:03:41 +04:00
|
|
|
<menuitem accesskey="&fileclose.accesskey;" key="closekb" observes="cmd_close"/>
|
|
|
|
<menuitem accesskey="&filesave.accesskey;" key="savekb" observes="cmd_save"/>
|
|
|
|
<menuitem accesskey="&filesaveas.accesskey;" observes="cmd_saveAs"/>
|
add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
2000-08-04 14:25:07 +04:00
|
|
|
<menuitem accesskey="&filesaveascharset.accesskey;" observes="cmd_saveAsCharset"/>
|
2001-03-29 01:16:44 +04:00
|
|
|
<menuitem accesskey="&fileexporttotext.accesskey;" observes="cmd_exportToText" id="fileExportToText"/>
|
add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
2000-08-04 14:25:07 +04:00
|
|
|
<menuitem accesskey="&filerevert.accesskey;" observes="cmd_revert"/>
|
2001-01-17 02:02:32 +03:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&previewCmd.label;" accesskey="&filepreview.accesskey;" observes="cmd_preview"/>
|
2001-01-17 02:02:32 +03:00
|
|
|
<!-- menuitem id="menu_SendPage" is merged here from mailEditorOverlay.xul,
|
2001-03-22 03:59:29 +03:00
|
|
|
where "position" is assumed to be 14. Change that label if menu position changes. -->
|
2001-01-09 23:35:47 +03:00
|
|
|
<menuitem accesskey="&fileprintsetup.accesskey;" observes="cmd_printSetup" />
|
2001-04-13 06:11:07 +04:00
|
|
|
<menuitem accesskey="&fileprint.accesskey;" key="printkb" observes="cmd_print" label="&printCmd.label;"/>
|
2001-01-09 23:35:47 +03:00
|
|
|
<menuseparator/>
|
2001-01-10 00:38:47 +03:00
|
|
|
<!-- The Exit/Quit item is merged from platformGlobalOverlay.xul -->
|
1999-09-02 08:49:24 +04:00
|
|
|
</menupopup>
|
2000-03-15 17:37:12 +03:00
|
|
|
</menu>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="editMenu" label="&editMenu.label;" accesskey="&editmenu.accesskey;">
|
2000-03-15 17:37:12 +03:00
|
|
|
<menupopup id="edEditMenuPopup" oncreate="EditorInitEditMenu()">
|
2000-09-08 05:45:06 +04:00
|
|
|
<!-- from utilityOverlay.xul -->
|
2000-02-16 04:49:50 +03:00
|
|
|
<menuitem id="menu_undo"/>
|
|
|
|
<menuitem id="menu_redo"/>
|
2000-02-15 12:46:28 +03:00
|
|
|
<menuseparator id="edEditMenuSep1" />
|
2000-02-16 04:49:50 +03:00
|
|
|
<menuitem id="menu_cut"/>
|
|
|
|
<menuitem id="menu_copy"/>
|
|
|
|
<menuitem id="menu_paste"/>
|
|
|
|
<menuitem id="menu_delete"/>
|
2000-02-15 12:46:28 +03:00
|
|
|
<menuseparator id="edEditMenuSep2" />
|
2000-02-16 04:49:50 +03:00
|
|
|
<menuitem id="menu_selectAll"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<menuseparator id="sep_find" class="hide-in-IM"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_find" accesskey="&editfind.accesskey;" key="findkb" observes="cmd_find" label="&findCmd.label;"/>
|
2000-02-16 04:49:50 +03:00
|
|
|
<menuitem id="menu_findnext" accesskey="&editfindnext.accesskey;" key="findnextkb" observes="cmd_findNext"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_replace" observes="cmd_replace" label="&replaceCmd.label;"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<menuseparator id="sep_checkspelling" class="hide-in-IM" />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_checkspelling" accesskey="&editcheckspelling.accesskey;" key="checkspellingkb" observes="cmd_spelling" label="&checkSpellingCmd.label;"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<menuseparator/>
|
2000-05-02 01:49:52 +04:00
|
|
|
<menuitem id="menu_preferences" observes="cmd_preferences"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menupopup>
|
2000-03-15 17:37:12 +03:00
|
|
|
</menu>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2000-03-15 17:37:12 +03:00
|
|
|
<!-- view menu items -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="viewToolbar" label="&viewToolbarsMenu.label;" accesskey="&viewToolbarsMenu.accesskey;">
|
2000-08-10 07:43:09 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="viewComposerToolbar" label="&compositionToolbarCmd.label;" type="checkbox" accesskey="&compositiontb.accesskey;" observes="cmd_viewCompToolbar" />
|
|
|
|
<menuitem id="viewFormatToolbar" label="&formattingToolbarCmd.label;" type="checkbox" accesskey="&formattingtb.accesskey;" observes="cmd_viewFormatToolbar" />
|
|
|
|
<menuitem id="viewEditModeToolbar" label="&editmodeToolbarCmd.label;" type="checkbox" accesskey="&editmodetb.accesskey;" observes="cmd_viewEditModeToolbar" />
|
|
|
|
<menuitem id="viewTaskBar" label="&taskbarCmd.label;" type="checkbox" accesskey="&taskbarCmd.accesskey;" observes="cmd_viewtaskbar" />
|
2000-08-10 07:43:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2000-10-10 17:15:46 +04:00
|
|
|
<menuitem id="viewNormalMode" type="radio" name="1" accesskey="&NormalMode.accesskey;" observes="cmd_NormalMode"/>
|
|
|
|
<menuitem id="viewAllTagsMode" type="radio" name="1" accesskey="&AllTagsMode.accesskey;" observes="cmd_AllTagsMode"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="viewSourceMode" type="radio" name="1" accesskey="&HTMLSourceMode.accesskey;" observes="cmd_HTMLSourceMode" label="&HTMLSourceMode.label;"/>
|
2000-10-10 17:15:46 +04:00
|
|
|
<menuitem id="viewPreviewMode" type="radio" name="1" accesskey="&PreviewMode.accesskey;" observes="cmd_PreviewMode"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
|
|
|
|
<menupopup id = "composerCharsetMenuPopup" oncreate="updateCharsetPopupMenu(this)" />
|
2000-03-15 17:37:12 +03:00
|
|
|
|
2000-05-02 07:24:11 +04:00
|
|
|
<!-- Insert menu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="insertMenu" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
1999-09-02 08:49:24 +04:00
|
|
|
<menupopup>
|
2001-05-08 17:39:36 +04:00
|
|
|
<menuitem accesskey="&insertlink.accesskey;" observes="cmd_link" label="&insertLinkCmd.label;" key="insertlinkkb"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem accesskey="&insertanchor.accesskey;" observes="cmd_anchor" label="&insertAnchorCmd.label;"/>
|
|
|
|
<menuitem accesskey="&insertimage.accesskey;" observes="cmd_image" label="&insertImageCmd.label;"/>
|
|
|
|
<menuitem accesskey="&inserthline.accesskey;" observes="cmd_hline" label="&insertHLineCmd.label;"/>
|
|
|
|
<menuitem accesskey="&inserttable.accesskey;" observes="cmd_InsertTable" label="&insertTableCmd.label;"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<menuitem accesskey="&HTMLSourceMode.accesskey;" observes="cmd_insertHTML" key="inserthtmlkb"/>
|
2000-05-02 07:24:11 +04:00
|
|
|
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" />
|
2001-02-16 06:33:07 +03:00
|
|
|
<menuseparator/>
|
|
|
|
<!-- Activate this after Enter key inserts P tag and not BR
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem accesskey="&insertbreak.accesskey;" observes="cmd_insertBreak" label="&insertBreakCmd.label;"/>
|
2001-02-16 06:33:07 +03:00
|
|
|
-->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem accesskey="&insertbreakall.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menupopup>
|
2000-03-15 17:37:12 +03:00
|
|
|
</menu>
|
1999-12-04 04:46:23 +03:00
|
|
|
|
2001-03-29 01:16:44 +04:00
|
|
|
<!-- Insert menu for PlainText editor -->
|
|
|
|
<menu id="insertMenuPlainText" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2000-03-15 17:37:12 +03:00
|
|
|
<!-- Format Menu -->
|
2000-02-10 08:14:52 +03:00
|
|
|
<menupopup id="formatMenuPopup" oncreate="EditorInitFormatMenu()">
|
1999-09-02 08:49:24 +04:00
|
|
|
<!-- Font face submenu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="fontFaceMenu" label="&fontfaceMenu.label;" accesskey="&formatfontmenu.accesskey;"
|
2000-04-28 09:59:16 +04:00
|
|
|
position="1">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menupopup oncommand="doStatefulCommand('cmd_fontFace', event.target.value)" oncreate="initFontFaceMenu(this)">
|
|
|
|
<menuitem label="&fontVarWidth.label;" accesskey="&fontvarwidth.accesskey;" value="" type="radio" name="1"/>
|
|
|
|
<menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" value="tt" type="radio" name="1" key="fontfixedwidthkb"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&fontHelveticaFont.label;" accesskey="&fonthelvetica.accesskey;" value="Helvetica, Arial, sans-serif" type="radio" name="2" />
|
|
|
|
<menuitem label="&fontTimes.label;" accesskey="&fonttimes.accesskey;" value="Times New Roman, Times, serif" type="radio" name="2" />
|
2001-05-03 11:53:27 +04:00
|
|
|
<menuitem label="&fontCourier.label;" accesskey="&fontcourier.accesskey;" value="Courier New, Courier, monospace" type="radio" name="2" />
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menu>
|
|
|
|
|
|
|
|
<!-- Font size submenu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="fontSizeMenu" label="&fontsizeMenu.label;"
|
1999-12-04 04:46:23 +03:00
|
|
|
accesskey="&formatsizemenu.accesskey;"
|
|
|
|
position="2">
|
2000-10-10 17:15:46 +04:00
|
|
|
<menupopup oncreate="initFontSizeMenu(this)">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&decreaseFontSize.label;" accesskey="&decreasefontsize.accesskey;" observes="cmd_decreaseFont" type="radio" name="1" key="decreasefontsizekb"/>
|
|
|
|
<menuitem label="&increaseFontSize.label;" accesskey="&increasefontsize.accesskey;" observes="cmd_increaseFont" type="radio" name="1" key="increasefontsizekb"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<menuseparator/>
|
2000-10-10 17:15:46 +04:00
|
|
|
<!-- Not supported in current font size implementation
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-small.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2" />
|
2000-10-10 17:15:46 +04:00
|
|
|
-->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&size-x-smallCmd.label;" accesskey="&size-x-small.accesskey;" oncommand="EditorSetFontSize('x-small')" type="radio" name="2" />
|
|
|
|
<menuitem label="&size-smallCmd.label;" accesskey="&size-small.accesskey;" oncommand="EditorSetFontSize('small')" type="radio" name="2" />
|
|
|
|
<menuitem label="&size-mediumCmd.label;" accesskey="&size-medium.accesskey;" oncommand="EditorSetFontSize('medium')" type="radio" name="2" />
|
|
|
|
<menuitem label="&size-largeCmd.label;" accesskey="&size-large.accesskey;" oncommand="EditorSetFontSize('large')" type="radio" name="2" />
|
|
|
|
<menuitem label="&size-x-largeCmd.label;" accesskey="&size-x-large.accesskey;" oncommand="EditorSetFontSize('x-large')" type="radio" name="2" />
|
|
|
|
<menuitem label="&size-xx-largeCmd.label;" accesskey="&size-xx-large.accesskey;" oncommand="EditorSetFontSize('xx-large')" type="radio" name="2" />
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menu>
|
|
|
|
|
|
|
|
<!-- Font style submenu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="fontStyleMenu" label="&fontStyleMenu.label;"
|
1999-12-04 04:46:23 +03:00
|
|
|
accesskey="&formatstylemenu.accesskey;"
|
|
|
|
position="3">
|
2000-05-02 01:49:52 +04:00
|
|
|
<menupopup oncreate="initFontStyleMenu(this)" oncommand="goDoCommand(event.target.observes)">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&styleBoldCmd.label;" accesskey="&stylebold.accesskey;" observes="cmd_bold" type="checkbox" key="boldkb"/>
|
|
|
|
<menuitem label="&styleItalicCmd.label;" accesskey="&styleitalic.accesskey;" observes="cmd_italic" type="checkbox" key="italickb" />
|
|
|
|
<menuitem label="&styleUnderlineCmd.label;" accesskey="&styleunderline.accesskey;" observes="cmd_underline" type="checkbox" key="underlinekb"/>
|
|
|
|
<menuitem label="&styleStrikeThruCmd.label;" accesskey="&stylestrikethru.accesskey;" observes="cmd_strikethrough" type="checkbox"/>
|
|
|
|
<menuitem label="&styleSuperscriptCmd.label;" accesskey="&stylesuperscript.accesskey;" observes="cmd_superscript" type="checkbox"/>
|
|
|
|
<menuitem label="&styleSubscriptCmd.label;" accesskey="&stylesubscript.accesskey;" observes="cmd_subscript" type="checkbox"/>
|
|
|
|
<menuitem label="&styleNonbreakingCmd.label;" accesskey="&stylenonbreaking.accesskey;" observes="cmd_nobreak" type="checkbox"/>
|
2000-04-15 06:03:52 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&styleEm.label;" accesskey="&styleEm.accesskey;" observes="cmd_em" type="checkbox"/>
|
|
|
|
<menuitem label="&styleStrong.label;" accesskey="&styleStrong.accesskey;" observes="cmd_strong" type="checkbox"/>
|
|
|
|
<menuitem label="&styleCite.label;" accesskey="&styleCite.accesskey;" observes="cmd_cite" type="checkbox"/>
|
|
|
|
<menuitem label="&styleAbbr.label;" accesskey="&styleAbbr.accesskey;" observes="cmd_abbr" type="checkbox"/>
|
|
|
|
<menuitem label="&styleAcronym.label;" accesskey="&styleAcronym.accesskey;" observes="cmd_acronym" type="checkbox"/>
|
|
|
|
<menuitem label="&styleCode.label;" accesskey="&styleCode.accesskey;" observes="cmd_code" type="checkbox"/>
|
|
|
|
<menuitem label="&styleSamp.label;" accesskey="&styleSamp.accesskey;" observes="cmd_samp" type="checkbox"/>
|
|
|
|
<menuitem label="&styleVar.label;" accesskey="&styleVar.accesskey;" observes="cmd_var" type="checkbox"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
1999-12-04 04:46:23 +03:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="fontColor" label="&formatFontColor.label;"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
accesskey="&formatfontcolor.accesskey;"
|
2001-03-24 03:58:52 +03:00
|
|
|
oncommand="EditorSelectColor('Text', null);"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="4"/>
|
add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
2000-08-04 14:25:07 +04:00
|
|
|
<menuseparator position="5"/>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- label and accesskey set at runtime from strings -->
|
2000-09-06 03:21:22 +04:00
|
|
|
<menuitem id="removeStylesMenuitem" key="removestyleskb"
|
|
|
|
observes="cmd_removeStyles"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="6"/>
|
2000-09-06 03:21:22 +04:00
|
|
|
<menuitem id="removeLinksMenuitem" key="removelinkskb"
|
|
|
|
observes="cmd_removeLinks"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="7"/>
|
add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
2000-08-04 14:25:07 +04:00
|
|
|
<menuseparator position="8"/>
|
1999-12-04 04:46:23 +03:00
|
|
|
|
2000-09-07 09:39:27 +04:00
|
|
|
<!-- Note: the 'Init' menu methods for Paragraph, List, and Align
|
2001-04-12 07:14:37 +04:00
|
|
|
assume that the id = 'menu_'+tagName (the 'value' label),
|
2000-06-16 18:22:12 +04:00
|
|
|
except for the first ('none') item
|
|
|
|
-->
|
1999-09-18 03:13:59 +04:00
|
|
|
<!-- Paragraph Style submenu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="paragraphMenu" label="¶graphMenu.label;"
|
1999-12-04 04:46:23 +03:00
|
|
|
accesskey="&formatparagraphmenu.accesskey;"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="9" oncreate="InitParagraphMenu()">
|
2001-04-12 07:14:37 +04:00
|
|
|
<menupopup oncommand="doStatefulCommand('cmd_paragraphState', event.target.getAttribute('value'))">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_bodyText" type="radio" name="1" label="&bodyTextCmd.label;" accesskey="&bodytext.accesskey;" value=""/>
|
|
|
|
<menuitem id="menu_p" type="radio" name="1" label="¶graphParagraphCmd.label;" accesskey="¶graphparagraph.accesskey;" value="p"/>
|
|
|
|
<menuitem id="menu_h1" type="radio" name="1" label="&heading1Cmd.label;" accesskey="&heading1.accesskey;" value="h1"/>
|
|
|
|
<menuitem id="menu_h2" type="radio" name="1" label="&heading2Cmd.label;" accesskey="&heading2.accesskey;" value="h2"/>
|
|
|
|
<menuitem id="menu_h3" type="radio" name="1" label="&heading3Cmd.label;" accesskey="&heading3.accesskey;" value="h3"/>
|
|
|
|
<menuitem id="menu_h4" type="radio" name="1" label="&heading4Cmd.label;" accesskey="&heading4.accesskey;" value="h4"/>
|
|
|
|
<menuitem id="menu_h5" type="radio" name="1" label="&heading5Cmd.label;" accesskey="&heading5.accesskey;" value="h5"/>
|
|
|
|
<menuitem id="menu_h6" type="radio" name="1" label="&heading6Cmd.label;" accesskey="&heading6.accesskey;" value="h6"/>
|
|
|
|
<menuitem id="menu_address" type="radio" name="1" label="¶graphAddressCmd.label;" accesskey="¶graphaddress.accesskey;" value="address"/>
|
|
|
|
<menuitem id="menu_pre" type="radio" name="1" label="¶graphPreformatCmd.label;" accesskey="¶graphpreformat.accesskey;" value="pre"/>
|
2000-06-16 18:22:12 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_blockquote" type="checkbox" label="¶graphBlockquoteCmd.label;" accesskey="¶graphblockquote.accesskey;" value="blockquote"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
1999-09-02 08:49:24 +04:00
|
|
|
</menu>
|
|
|
|
|
2000-06-06 00:26:26 +04:00
|
|
|
<!-- List Style submenu -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="listMenu" label="&formatlistMenu.label;"
|
2000-06-06 00:26:26 +04:00
|
|
|
accesskey="&formatlistmenu.accesskey;"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="10" oncreate="InitListMenu()">
|
2000-06-06 00:26:26 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_noList" type="radio" name="1" label="&noneCmd.label;" accesskey="&none.accesskey;" observes="cmd_removeList"/>
|
|
|
|
<menuitem id="menu_ul" type="radio" name="1" label="&listBulletCmd.label;" accesskey="&listbullet.accesskey;" observes="cmd_ul"/>
|
|
|
|
<menuitem id="menu_ol" type="radio" name="1" label="&listNumberedCmd.label;" accesskey="&listnumbered.accesskey;" observes="cmd_ol"/>
|
|
|
|
<menuitem id="menu_dt" type="radio" name="1" label="&listTermCmd.label;" accesskey="&listterm.accesskey;" observes="cmd_dt"/>
|
|
|
|
<menuitem id="menu_dd" type="radio" name="1" label="&listDefinitionCmd.label;" accesskey="&listdefinition.accesskey;" observes="cmd_dd"/>
|
2000-06-06 00:26:26 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="listProps" label="&listProps.label;" accesskey="&listprops.accesskey;" observes="cmd_listProperties"/>
|
2000-06-06 00:26:26 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<menuseparator position="11"/>
|
add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
2000-08-04 14:25:07 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="increaseIndent" label="&increaseIndent.label;" accesskey="&increaseindent.accesskey;" key="increaseindentkb"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
observes="cmd_indent" position="12"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="decreaseIndent" label="&decreaseIndent.label;" accesskey="&decreaseindent.accesskey;" key="decreaseindentkb"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
observes="cmd_outdent" position="13"/>
|
2000-06-06 00:26:26 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="alignMenu" label="&alignMenu.label;" accesskey="&formatalignmenu.accesskey;"
|
2000-09-07 09:39:27 +04:00
|
|
|
oncreate="InitAlignMenu()"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
position="14">
|
2000-03-15 17:37:12 +03:00
|
|
|
<!-- Align submenu -->
|
2001-04-12 07:14:37 +04:00
|
|
|
<menupopup oncommand="doStatefulCommand('cmd_align', event.target.getAttribute('value'))">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_left" label="&alignLeft.label;" accesskey="&alignleft.accesskey;" type="radio" name="1" value="left"/>
|
|
|
|
<menuitem id="menu_center" label="&alignCenter.label;" accesskey="&aligncenter.accesskey;" type="radio" name="1" value="center"/>
|
|
|
|
<menuitem id="menu_right" label="&alignRight.label;" accesskey="&alignright.accesskey;" type="radio" name="1" value="right"/>
|
|
|
|
<menuitem id="menu_justify" label="&alignJustify.label;" accesskey="&alignjustify.accesskey;" type="radio" name="1" value="justify"/>
|
2000-03-15 17:37:12 +03:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<menuseparator position="15"/>
|
2000-02-10 08:14:52 +03:00
|
|
|
<!-- Merge Table Menu and separator in Messenger Composer here -->
|
|
|
|
<!-- Merge property items here -->
|
1999-12-04 04:46:23 +03:00
|
|
|
</menupopup>
|
|
|
|
|
2000-09-06 03:21:22 +04:00
|
|
|
<!-- Next 3 are items to append at the bottom of the formatMenuPopup -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- label and accesskey filled in during menu creation -->
|
2000-09-06 03:21:22 +04:00
|
|
|
<menuitem id="objectProperties"
|
|
|
|
oncommand="goDoCommand('cmd_objectProperties')"/>
|
|
|
|
<!-- Dont use 'observes', must call command correctly -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="pageProperties" label="&pageProperties.label;"
|
1999-12-04 04:46:23 +03:00
|
|
|
accesskey="&pageproperties.accesskey;"
|
2000-05-02 01:49:52 +04:00
|
|
|
oncommand="goDoCommand('cmd_pageProperties')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="colorsAndBackground" label="&colorsAndBackground.label;"
|
2000-02-10 08:14:52 +03:00
|
|
|
accesskey="&colorsandbackground.accesskey;"
|
2000-05-02 01:49:52 +04:00
|
|
|
oncommand="goDoCommand('cmd_colorProperties')"/>
|
1999-12-04 04:46:23 +03:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="tableMenu" label="&tableMenu.label;" accesskey="&tablemenu.accesskey;">
|
2000-05-12 17:09:41 +04:00
|
|
|
<menupopup oncreate="EditorInitTableMenu()">
|
2000-09-06 03:21:22 +04:00
|
|
|
<!-- From EditorCommandOverlay.xul (shared with context popup) -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="tableInsertMenu" label="&tableInsertMenu.label;" accesskey="&tableinsertmenu.accesskey;">
|
2000-09-06 03:46:24 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&insertTableCmd.label;" accesskey="&tabletable.accesskey;" observes="cmd_InsertTable"/>
|
2000-09-06 03:46:24 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&tableRowAbove.label;" accesskey="&tablerow.accesskey;" observes="cmd_InsertRowAbove"/>
|
|
|
|
<menuitem label="&tableRowBelow.label;" accesskey="&tablerowbelow.accesskey;" observes="cmd_InsertRowBelow"/>
|
2000-09-06 03:46:24 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&tableColumnBefore.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_InsertColumnBefore"/>
|
|
|
|
<menuitem label="&tableColumnAfter.label;" accesskey="&tablecolumnafter.accesskey;" observes="cmd_InsertColumnAfter"/>
|
2000-09-06 03:46:24 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&tableCellBefore.label;" accesskey="&tablecell.accesskey;" observes="cmd_InsertCellBefore"/>
|
|
|
|
<menuitem label="&tableCellAfter.label;" accesskey="&tablecellafter.accesskey;" observes="cmd_InsertCellAfter"/>
|
2000-09-06 03:46:24 +04:00
|
|
|
</menupopup>
|
2000-05-12 17:09:41 +04:00
|
|
|
</menu>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="tableSelectMenu" label="&tableSelectMenu.label;" accesskey="&tableselectmenu.accesskey;">
|
2000-09-06 03:46:24 +04:00
|
|
|
<menupopup id="tableSelectPopup">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_SelectTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_SelectTable" />
|
|
|
|
<menuitem id="menu_SelectRow" label="&tableRow.label;" accesskey="&tablerow.accesskey;" observes="cmd_SelectRow" />
|
|
|
|
<menuitem id="menu_SelectColumn" label="&tableColumn.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_SelectColumn" />
|
|
|
|
<menuitem id="menu_SelectCell" label="&tableCell.label;" accesskey="&tablecell.accesskey;" observes="cmd_SelectCell" />
|
|
|
|
<menuitem id="menu_SelectAllCells" label="&tableAllCells.label;" accesskey="&tableallcells.accesskey;" observes="cmd_SelectAllCells" />
|
2000-09-06 03:46:24 +04:00
|
|
|
</menupopup>
|
2000-05-15 07:05:56 +04:00
|
|
|
</menu>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="tableDeleteMenu" label="&tableDeleteMenu.label;" accesskey="&tabledeletemenu.accesskey;">
|
2000-09-06 03:46:24 +04:00
|
|
|
<menupopup id="tableDeletePopup">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_DeleteTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_DeleteTable"/>
|
|
|
|
<menuitem id="menu_DeleteRow" label="&tableRows.label;" accesskey="&tablerow.accesskey;" observes="cmd_DeleteRow"/>
|
|
|
|
<menuitem id="menu_DeleteColumn" label="&tableColumns.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_DeleteColumn"/>
|
|
|
|
<menuitem id="menu_DeleteCell" label="&tableCells.label;" accesskey="&tablecell.accesskey;" observes="cmd_DeleteCell"/>
|
|
|
|
<menuitem id="menu_DeleteCellContents" label="&tableCellContents.label;" accesskey="&tablecellcontents.accesskey;" observes="cmd_DeleteCellContents"/>
|
2000-09-06 03:46:24 +04:00
|
|
|
</menupopup>
|
2000-05-12 17:09:41 +04:00
|
|
|
</menu>
|
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- menu label is set in InitTableMenu -->
|
|
|
|
<menuitem id="menu_JoinTableCells" label="&tableJoinCells.label;" accesskey="&tablejoincells.accesskey;" observes="cmd_JoinTableCells"/>
|
|
|
|
<menuitem id="menu_SlitTableCell" label="&tableSplitCell.label;" accesskey="&tablesplitcell.accesskey;" observes="cmd_SplitTableCell"/>
|
2000-08-10 07:43:09 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="menu_TableOrCellColor" label="&tableOrCellColor.label;" accesskey="&tableOrCellColor.accesskey;" observes="cmd_TableOrCellColor"/>
|
|
|
|
<menuitem id="menu_tableProperties" label="&tableProperties.label;" accesskey="&tableProperties.accesskey;" observes="cmd_editTable"/>
|
2000-05-12 17:09:41 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
1999-12-03 18:56:22 +03:00
|
|
|
|
2001-02-07 10:52:02 +03:00
|
|
|
|
|
|
|
<!-- smiley menu -->
|
2001-04-07 09:49:24 +04:00
|
|
|
<menubutton id="smileButtonMenu" class="button-toolbar" observes="cmd_smiley"
|
|
|
|
tooltip="aTooltip" tooltiptext="&SmileButton.tooltip;">
|
|
|
|
<menupopup id="smilyPopup">
|
|
|
|
<menuitem class="smiley insert-smile menuitem-iconic" label="&smiley1Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-)' )" />
|
|
|
|
<menuitem class="smiley insert-frown menuitem-iconic" label="&smiley2Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-(' )" />
|
|
|
|
<menuitem class="smiley insert-wink menuitem-iconic" label="&smiley3Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ';-)' )" />
|
|
|
|
<menuitem class="smiley insert-tongue menuitem-iconic" label="&smiley4Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-P' )" />
|
|
|
|
<menuitem class="smiley insert-laughing menuitem-iconic" label="&smiley5Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-D' )" />
|
|
|
|
<menuitem class="smiley insert-embarrassed menuitem-iconic" label="&smiley6Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-[' )" />
|
|
|
|
<menuitem class="smiley insert-undecided menuitem-iconic" label="&smiley7Cmd.label;"
|
|
|
|
oncommand="doStatefulCommand('cmd_smiley', ':-\\' )" />
|
2001-02-07 10:52:02 +03:00
|
|
|
</menupopup>
|
2001-04-07 09:49:24 +04:00
|
|
|
</menubutton>
|
|
|
|
|
2001-02-07 10:52:02 +03:00
|
|
|
|
2000-08-12 04:47:05 +04:00
|
|
|
<!-- this is only used in mailnews -->
|
2001-03-09 03:01:55 +03:00
|
|
|
<menubutton id="AlignPopupButton" class="button-toolbar" observes="cmd_align"
|
|
|
|
tooltip="aTooltip" tooltiptext="&AlignPopupButton.tooltip;">
|
|
|
|
<menupopup id="AlignPopup">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="AlignLeftItem" class="menuitem-iconic" label="&alignLeft.label;"
|
2001-03-09 03:01:55 +03:00
|
|
|
oncommand="doStatefulCommand('cmd_align', 'left')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="AlignCenterItem" class="menuitem-iconic" label="&alignCenter.label;"
|
2001-03-09 03:01:55 +03:00
|
|
|
oncommand="doStatefulCommand('cmd_align', 'center')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="AlignRightItem" class="menuitem-iconic" label="&alignRight.label;"
|
2001-03-09 03:01:55 +03:00
|
|
|
oncommand="doStatefulCommand('cmd_align', 'right')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem id="AlignJustifyItem" class="menuitem-iconic" label="&alignJustify.label;"
|
2001-03-09 03:01:55 +03:00
|
|
|
oncommand="doStatefulCommand('cmd_align', 'justify')"/>
|
|
|
|
</menupopup>
|
|
|
|
</menubutton>
|
2000-08-12 04:47:05 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
<!-- InsertPopupButton is used by messengercompose.xul -->
|
|
|
|
<menubutton id="InsertPopupButton" class="button-toolbar" observes="cmd_insert">
|
|
|
|
<menupopup id="InsertPopup">
|
|
|
|
<menuitem id="InsertLinkItem" class="menuitem-iconic" observes="cmd_link"
|
2001-03-22 03:59:29 +03:00
|
|
|
oncommand="goDoCommand('cmd_link')" label="&linkToolbarCmd.label;"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
<menuitem id="InsertAnchorItem" class="menuitem-iconic" observes="cmd_anchor"
|
2001-03-22 03:59:29 +03:00
|
|
|
oncommand="goDoCommand('cmd_anchor')" label="&anchorToolbarCmd.label;"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
<menuitem id="InsertImageItem" class="menuitem-iconic" observes="cmd_image"
|
2001-03-22 03:59:29 +03:00
|
|
|
oncommand="goDoCommand('cmd_image')" label="&imageToolbarCmd.label;"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
<menuitem id="InsertHRuleItem" class="menuitem-iconic" observes="cmd_hline"
|
2001-03-22 03:59:29 +03:00
|
|
|
oncommand="goDoCommand('cmd_hline')" label="&hruleToolbarCmd.label;"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
<menuitem id="InsertTableItem" class="menuitem-iconic" observes="cmd_table"
|
2001-03-22 03:59:29 +03:00
|
|
|
oncommand="goDoCommand('cmd_table')" label="&tableToolbarCmd.label;"/>
|
2001-03-09 03:01:55 +03:00
|
|
|
</menupopup>
|
|
|
|
</menubutton>
|
1999-12-02 01:49:15 +03:00
|
|
|
|
2000-04-15 06:03:52 +04:00
|
|
|
<!-- Editor toolbar items -->
|
|
|
|
<!-- note that we override the submenu item label "Blank Window" with "New" used for the menu -->
|
2000-05-07 14:53:42 +04:00
|
|
|
<button class="button-toolbar-2 top" id="newButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&newMenu.label;" observes="cmd_newEditor"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&newToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="openButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&openToolbarCmd.label;" observes="cmd_open"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&openToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="saveButton"
|
|
|
|
observes="cmd_save"
|
|
|
|
tooltip="aTooltip" tooltiptext="&saveToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="previewButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&previewToolbarCmd.label;" observes="cmd_preview"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&previewToolbarCmd.tooltip;"/>
|
2000-05-28 10:11:17 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<menubutton class="menubutton-dual toolbar top" id="printButton" label="&printToolbarCmd.label;"
|
2000-08-18 06:51:46 +04:00
|
|
|
observes="cmd_print" tooltip="aTooltip" tooltiptext="&printToolbarCmd.tooltip;"
|
2000-05-28 10:11:17 +04:00
|
|
|
crop="right">
|
2001-03-22 03:59:29 +03:00
|
|
|
<menupopup id="printMenu">
|
2001-04-14 01:50:08 +04:00
|
|
|
<menuitem accesskey="&fileprint.accesskey;" label="&printCmd.label;" default="true"/>
|
2000-05-28 10:11:17 +04:00
|
|
|
<menuitem accesskey="&fileprintsetup.accesskey;" observes="cmd_printSetup" />
|
|
|
|
</menupopup>
|
|
|
|
</menubutton>
|
|
|
|
|
2000-05-07 14:53:42 +04:00
|
|
|
<button class="button-toolbar-2 top" id="findButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&findToolbarCmd.label;" observes="cmd_find"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&findToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="spellingButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&spellToolbarCmd.label;" observes="cmd_spelling"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&spellToolbarCmd.tooltip;"/>
|
|
|
|
|
|
|
|
<button class="button-toolbar-2 top" id="imageButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&imageToolbarCmd.label;" observes="cmd_image"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&imageToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="hlineButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&hruleToolbarCmd.label;" observes="cmd_hline"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&hruleToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="tableButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&tableToolbarCmd.label;" observes="cmd_table"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&tableToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="linkButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&linkToolbarCmd.label;" observes="cmd_link"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&linkToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar-2 top" id="namedAnchorButton"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&anchorToolbarCmd.label;" observes="cmd_anchor"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&anchorToolbarCmd.tooltip;"/>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- Formatting toolbar items. "value" are HTML tagnames, don't translate -->
|
2000-09-22 09:17:53 +04:00
|
|
|
<menulist class="toolbar-focustarget" id="ParagraphSelect" tooltip="aTooltip" tooltiptext="&ParagraphSelect.tooltip;" crop="right">
|
fixes:
14753, 29843, 39864, 40141,
40139, 36679, 39542, 34729,
34855, 37216, 39292, 26447
r=sfraser,cmanske,fm; a=beppe
2000-05-25 03:00:24 +04:00
|
|
|
<observes element="cmd_paragraphState" attribute="state" onbroadcast="onParagraphFormatChange(this.parentNode, 'cmd_paragraphState')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menupopup id="ParagraphPopup" oncommand="doStatefulCommand('cmd_paragraphState', event.target.value)">
|
|
|
|
<menuitem label="&bodyTextCmd.label;" value=""/>
|
|
|
|
<menuitem label="¶graphParagraphCmd.label;" value="p"/>
|
|
|
|
<menuitem label="&heading1Cmd.label;" value="h1"/>
|
|
|
|
<menuitem label="&heading2Cmd.label;" value="h2"/>
|
|
|
|
<menuitem label="&heading3Cmd.label;" value="h3"/>
|
|
|
|
<menuitem label="&heading4Cmd.label;" value="h4"/>
|
|
|
|
<menuitem label="&heading5Cmd.label;" value="h5"/>
|
|
|
|
<menuitem label="&heading6Cmd.label;" value="h6"/>
|
|
|
|
<menuitem label="¶graphAddressCmd.label;" value="address"/>
|
|
|
|
<menuitem label="¶graphPreformatCmd.label;" value="pre"/>
|
2000-06-16 18:22:12 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="¶graphBlockquoteCmd.label;" value="blockquote"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- "value" are HTML tagnames, don't translate -->
|
2000-09-22 09:17:53 +04:00
|
|
|
<menulist class="toolbar-focustarget" id="FontFaceSelect" tooltip="aTooltip" tooltiptext="&FontFaceSelect.tooltip;" crop="right">
|
fixes:
14753, 29843, 39864, 40141,
40139, 36679, 39542, 34729,
34855, 37216, 39292, 26447
r=sfraser,cmanske,fm; a=beppe
2000-05-25 03:00:24 +04:00
|
|
|
<observes element="cmd_fontFace" attribute="state" onbroadcast="onFontFaceChange(this.parentNode, 'cmd_fontFace')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menupopup id="FontFacePopup" oncommand="doStatefulCommand('cmd_fontFace', event.target.value)">
|
|
|
|
<menuitem label="&fontVarWidth.label;" value=""/>
|
|
|
|
<menuitem label="&fontFixedWidth.label;" value="tt"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<menuseparator/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&fontHelveticaFont.label;" value="Helvetica, foo, sans-serif"/>
|
|
|
|
<menuitem label="&fontTimes.label;" value="Times New Roman, Times, serif"/>
|
2001-05-03 11:53:27 +04:00
|
|
|
<menuitem label="&fontCourier.label;" value="Courier New, Courier, monospace"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
|
2000-09-22 09:17:53 +04:00
|
|
|
<menulist class="toolbar-focustarget" id="FontSizeSelect" oncommand="EditorSelectFontSize()" tooltip="aTooltip" tooltiptext="&FontSizeSelect.tooltip;" crop="right">
|
fixes:
14753, 29843, 39864, 40141,
40139, 36679, 39542, 34729,
34855, 37216, 39292, 26447
r=sfraser,cmanske,fm; a=beppe
2000-05-25 03:00:24 +04:00
|
|
|
<observes element="cmd_fontSize" attribute="state" onbroadcast="onFontSizeChange(this.parentNode, 'cmd_fontSize')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&size-xx-smallCmd.label;"/>
|
|
|
|
<menuitem label="&size-x-smallCmd.label;"/>
|
|
|
|
<menuitem label="&size-smallCmd.label;"/>
|
|
|
|
<menuitem label="&size-mediumCmd.label;"/>
|
|
|
|
<menuitem label="&size-largeCmd.label;"/>
|
|
|
|
<menuitem label="&size-x-largeCmd.label;"/>
|
|
|
|
<menuitem label="&size-xx-largeCmd.label;"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2000-04-28 09:59:16 +04:00
|
|
|
<stack id="ColorButtons" autostretch="never">
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
<observes element="cmd_fontColor" attribute="state" onbroadcast="onFontColorChange()"/>
|
|
|
|
<observes element="cmd_backgroundColor" attribute="state" onbroadcast="onBackgroundColorChange()"/>
|
|
|
|
<text class="color-button" id="BackgroundColorButton"
|
2001-03-24 03:58:52 +03:00
|
|
|
onclick="EditorSelectColor('', event);"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&BackgroundColorButton.tooltip;"/>
|
|
|
|
<text class="color-button" id="TextColorButton"
|
2001-03-24 03:58:52 +03:00
|
|
|
onclick="EditorSelectColor('Text', event);"
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&TextColorButton.tooltip;"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</stack>
|
2000-05-04 18:02:03 +04:00
|
|
|
|
|
|
|
<!-- A BUG IN CSS/BOXES MAKES THIS ASSERT WHEN CLASS= IS PRESENT AND WE TRY TO COLLAPSE THE TOOLBOX -->
|
2000-05-07 14:53:42 +04:00
|
|
|
<button class="button-toolbar" id="DecreaseFontSizeButton" observes="cmd_decreaseFont"
|
|
|
|
tooltip="aTooltip" tooltiptext="&decreaseFontSizeToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar" id="IncreaseFontSizeButton" observes="cmd_increaseFont"
|
|
|
|
tooltip="aTooltip" tooltiptext="&increaseFontSizeToolbarCmd.tooltip;"/>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2000-08-28 08:38:20 +04:00
|
|
|
<button class="button-toolbar" id="boldButton" observes="cmd_bold"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&boldToolbarCmd.tooltip;">
|
2000-05-02 01:49:52 +04:00
|
|
|
<observes element="cmd_bold" attribute="state" onbroadcast="onButtonUpdate(this.parentNode, 'cmd_bold')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</button>
|
2000-08-28 08:38:20 +04:00
|
|
|
<button class="button-toolbar" id="italicButton" observes="cmd_italic"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&italicToolbarCmd.tooltip;">
|
2000-05-02 01:49:52 +04:00
|
|
|
<observes element="cmd_italic" attribute="state" onbroadcast="onButtonUpdate(this.parentNode, 'cmd_italic')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</button>
|
2000-08-28 08:38:20 +04:00
|
|
|
<button class="button-toolbar" id="underlineButton" observes="cmd_underline"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&underlineToolbarCmd.tooltip;">
|
2000-05-02 01:49:52 +04:00
|
|
|
<observes element="cmd_underline" attribute="state" onbroadcast="onButtonUpdate(this.parentNode, 'cmd_underline')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</button>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2000-08-17 03:09:15 +04:00
|
|
|
<button class="button-toolbar" id="ulButton" observes="cmd_ul"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&bulletListToolbarCmd.tooltip;">
|
2000-05-02 01:49:52 +04:00
|
|
|
<observes element="cmd_ul" attribute="state" onbroadcast="onButtonUpdate(this.parentNode, 'cmd_ul')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</button>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2000-08-17 03:09:15 +04:00
|
|
|
<button class="button-toolbar" id="olButton" observes="cmd_ol"
|
2000-05-07 14:53:42 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&numberListToolbarCmd.tooltip;">
|
2000-05-02 01:49:52 +04:00
|
|
|
<observes element="cmd_ol" attribute="state" onbroadcast="onButtonUpdate(this.parentNode, 'cmd_ol')"/>
|
2000-04-28 09:59:16 +04:00
|
|
|
</button>
|
2000-04-15 06:03:52 +04:00
|
|
|
|
2000-05-07 14:53:42 +04:00
|
|
|
<button class="button-toolbar format" id="outdentButton" observes="cmd_outdent"
|
|
|
|
tooltip="aTooltip" tooltiptext="&outdentToolbarCmd.tooltip;"/>
|
|
|
|
<button class="button-toolbar format" id="indentButton" observes="cmd_indent"
|
|
|
|
tooltip="aTooltip" tooltiptext="&indentToolbarCmd.tooltip;"/>
|
2000-08-12 04:47:05 +04:00
|
|
|
|
|
|
|
<!-- alignment buttons -->
|
2000-08-24 21:03:27 +04:00
|
|
|
<button class="button-toolbar" id="align-left-button" oncommand="doStatefulCommand('cmd_align', 'left')"
|
|
|
|
tooltip="aTooltip" tooltiptext="&alignLeft.tooltip;" >
|
|
|
|
<observes element="cmd_align" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_align', 'left')" />
|
2000-08-24 05:20:29 +04:00
|
|
|
</button>
|
2000-08-24 23:32:25 +04:00
|
|
|
<button class="button-toolbar" id="align-center-button" oncommand="doStatefulCommand('cmd_align', 'center')"
|
2000-08-24 21:03:27 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&alignCenter.tooltip;" >
|
2000-08-24 05:20:29 +04:00
|
|
|
<observes element="cmd_align" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_align', 'center')"/>
|
|
|
|
</button>
|
2000-08-24 21:03:27 +04:00
|
|
|
<button class="button-toolbar" id="align-right-button" oncommand="doStatefulCommand('cmd_align', 'right')"
|
|
|
|
tooltip="aTooltip" tooltiptext="&alignRight.tooltip;" >
|
2000-08-24 05:20:29 +04:00
|
|
|
<observes element="cmd_align" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_align', 'right')"/>
|
|
|
|
</button>
|
2000-08-24 21:03:27 +04:00
|
|
|
<button class="button-toolbar" id="align-justify-button" oncommand="doStatefulCommand('cmd_align', 'justify')"
|
|
|
|
tooltip="aTooltip" tooltiptext="&alignJustify.tooltip;" >
|
2000-08-24 05:20:29 +04:00
|
|
|
<observes element="cmd_align" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_align', 'justify')"/>
|
|
|
|
</button>
|
2000-04-28 09:59:16 +04:00
|
|
|
|
|
|
|
<!-- Edit Mode toolbar -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab id="NormalModeButton" class="tab-bottom edit-mode _plain" type="text" selected="1" label="&NormalModeTab.label;" oncommand="SetEditMode(1);"
|
2000-08-10 07:43:09 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&NormalMode.tooltip;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab id="TagModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" label="&AllTagsMode.label;" oncommand="SetEditMode(2);"
|
2000-08-10 07:43:09 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&AllTagsMode.tooltip;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab id="SourceModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" label="&SourceMode.label;" oncommand="SetEditMode(3);"
|
2000-08-10 07:43:09 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&HTMLSourceMode.tooltip;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab id="PreviewModeButton" class="tab-bottom edit-mode _plain" type="text" selected="0" label="&PreviewMode.label;" oncommand="SetEditMode(0);"
|
2000-08-10 07:43:09 +04:00
|
|
|
tooltip="aTooltip" tooltiptext="&PreviewMode.tooltip;"/>
|
|
|
|
|
2000-04-15 06:03:52 +04:00
|
|
|
<!-- Paste as quotation is used by mail compose,
|
|
|
|
but in composer it has to go in the debug menu
|
|
|
|
-->
|
2000-05-09 05:49:11 +04:00
|
|
|
<menuitem id="menu_pasteQuote" accesskey="&editpastequotation.accesskey;" observes="cmd_pasteQuote"/>
|
1999-09-02 08:49:24 +04:00
|
|
|
|
2000-04-15 06:03:52 +04:00
|
|
|
<!-- DEBUG only -->
|
2001-03-22 03:59:29 +03:00
|
|
|
<menu id="debugMenu" label="&debugMenu.label;">
|
2000-04-15 06:03:52 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&newEditorTestPage.label;" oncommand="window.openDialog('chrome://editor/content','_blank','chrome,all,dialog=no','chrome://editor/content/EditorInitPage.html')"/>
|
|
|
|
<menuitem label="&textEditorCmd.label;" oncommand="EditorNewPlaintext();" />
|
|
|
|
<menuitem label="&outputTextCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorGetText()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&outputHTMLCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorGetHTML()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="Dom Serializer"
|
2000-09-07 22:40:14 +04:00
|
|
|
oncommand="EditorSerialize()"/>
|
2000-04-15 06:03:52 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&pasteAsQuotationCmd.label;"
|
2000-04-19 02:39:10 +04:00
|
|
|
accesskey="&editpastequotation.accesskey;"
|
2000-05-03 09:14:11 +04:00
|
|
|
oncommand="goDoCommand('cmd_pasteQuote')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&editRewrapCmd.label;"
|
2000-04-21 02:45:54 +04:00
|
|
|
oncommand="editorShell.Rewrap(false)"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&editStripQuotesCmd.label;"
|
2000-04-19 02:39:10 +04:00
|
|
|
oncommand="editorShell.StripCites()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&insertTextCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorInsertText('All good things come to those who wait. ')"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="Tableize"
|
2001-02-17 04:33:07 +03:00
|
|
|
oncommand="EditorTableize()"/>
|
2000-04-15 06:03:52 +04:00
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&testSelectionCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorTestSelection()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&testTableLayoutCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorTestTableLayout()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&showEmbeddedCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorShowEmbeddedObjects()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&dumpContentCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorDumpContent()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&testDocumentCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorTestDocument()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&runUnitTestsCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorUnitTests()"/>
|
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&dumpUndoStack.label;"
|
2001-03-09 17:23:59 +03:00
|
|
|
oncommand="DumpUndoStack()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&dumpRedoStack.label;"
|
2001-03-09 17:23:59 +03:00
|
|
|
oncommand="DumpRedoStack()"/>
|
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&startLogCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorStartLog()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&stopLogCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorStopLog()"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&runLogCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
oncommand="EditorRunLog()"/>
|
|
|
|
<menuseparator />
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="&setFocusCmd.label;"
|
2000-04-15 06:03:52 +04:00
|
|
|
accesskey="&toolsetfocus.accesskey;"
|
|
|
|
oncommand="window.focus()"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<!-- end DEBUG only -->
|
|
|
|
|
1999-09-02 08:49:24 +04:00
|
|
|
</overlay>
|