mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 11:40:13 +01:00
165 lines
10 KiB
Plaintext
165 lines
10 KiB
Plaintext
|
<?xml version="1.0"?>
|
||
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
||
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||
|
-
|
||
|
- The contents of this file are subject to the Mozilla 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/MPL/
|
||
|
-
|
||
|
- 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 the Initial Developer are Copyright (C) 2000
|
||
|
- the Initial Developer. All Rights Reserved.
|
||
|
-
|
||
|
- Contributor(s):
|
||
|
- Daniel Glazman (glazman@netscape.com)
|
||
|
- Charles Manske (cmanske@netscape.com)
|
||
|
-
|
||
|
- Alternatively, the contents of this file may be used under the terms of
|
||
|
- either of the GNU General Public License Version 2 or later (the "GPL"),
|
||
|
- or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
||
|
- of those above. If you wish to allow use of your version of this file only
|
||
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
||
|
- use your version of this file under the terms of the MPL, indicate your
|
||
|
- decision by deleting the provisions above and replace them with the notice
|
||
|
- and other provisions required by the GPL or the LGPL. If you do not delete
|
||
|
- the provisions above, a recipient may use your version of this file under
|
||
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
||
|
-
|
||
|
- ***** END LICENSE BLOCK ***** -->
|
||
|
|
||
|
<!DOCTYPE overlay SYSTEM "chrome://editor/locale/editorOverlay.dtd">
|
||
|
|
||
|
<overlay id="ComposerContextMenuOverlay"
|
||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||
|
|
||
|
<script type="application/x-javascript" src="chrome://editor/content/EditorContextMenu.js"/>
|
||
|
<script type="application/x-javascript" src="chrome://editor/content/StructBarContextMenu.js"/>
|
||
|
<script type="application/x-javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
||
|
|
||
|
<popupset id="editorContentContextSet">
|
||
|
<popup id="editorContentContext"
|
||
|
onpopupshowing="EditorFillContextMenu(event, this);">
|
||
|
<menuitem id="spellCheckNoSuggestions" label="&spellCheckNoSuggestions.label;" disabled="true"/>
|
||
|
<menuseparator id="spellCheckAddSep"/>
|
||
|
<menuitem id="spellCheckAddToDictionary"
|
||
|
label="&spellCheckAddToDictionary.label;"
|
||
|
accesskey="&spellCheckAddToDictionary.accesskey;"
|
||
|
oncommand="InlineSpellCheckerUI.addToDictionary();"/>
|
||
|
<menuitem id="spellCheckIgnoreWord"
|
||
|
label="&spellCheckIgnoreWord.label;"
|
||
|
accesskey="&spellCheckIgnoreWord.accesskey;"
|
||
|
oncommand="InlineSpellCheckerUI.mInlineSpellChecker.ignoreWord(InlineSpellCheckerUI.mMisspelling);"/>
|
||
|
<menuseparator id="spellCheckSuggestionsSeparator"/>
|
||
|
|
||
|
<menuitem id="menu_undo_cm" label="&undoCmd.label;" accesskey="&undo.accesskey;" command="cmd_undo"/>
|
||
|
<menuitem id="menu_redo_cm" label="&redoCmd.label;" accesskey="&redo.accesskey;" command="cmd_redo"/>
|
||
|
<menuseparator id="undoredo-separator"/>
|
||
|
|
||
|
<menuitem id="menu_cut_cm" label="&cutCmd.label;" accesskey="&cut.accesskey;" command="cmd_cut"/>
|
||
|
<menuitem id="menu_copy_cm" label="©Cmd.label;" accesskey="©.accesskey;" command="cmd_copy"/>
|
||
|
<menuitem id="menu_paste_cm" label="&pasteCmd.label;" accesskey="&paste.accesskey;" command="cmd_paste"/>
|
||
|
<menuitem id="menu_pasteNoFormatting_cm" command="cmd_pasteNoFormatting"/>
|
||
|
<menuitem id="menu_delete_cm" label="&deleteCmd.label;" accesskey="&delete.accesskey;" command="cmd_delete"/>
|
||
|
<menuseparator id="edit-separator"/>
|
||
|
<menuitem id="menu_selectAll_cm" label="&selectAllCmd.label;" accesskey="&selectall.accesskey;" command="cmd_selectAll"/>
|
||
|
<menuseparator id="selectAll-separator"/>
|
||
|
|
||
|
<!-- label and accesskey set at runtime from strings -->
|
||
|
<menuitem id="removeStylesMenuitem_cm"
|
||
|
observes="cmd_removeStyles"/>
|
||
|
<menuitem id="createLink_cm" label="&createLinkCmd.label;" accesskey="&createlink.accesskey;" command="cmd_link"/>
|
||
|
<!-- label and accesskey set at runtime from strings -->
|
||
|
<menuitem id="removeLinksMenuitem_cm" observes="cmd_removeLinks"/>
|
||
|
<menuitem id="removeNamedAnchorsMenuitem_cm" label="&formatRemoveNamedAnchors.label;"
|
||
|
accesskey="&formatRemoveNamedAnchors.accesskey;"
|
||
|
observes="cmd_removeNamedAnchors"/>
|
||
|
<menuseparator id="styles-separator"/>
|
||
|
|
||
|
<!-- label and accesskey are set in InitObjectProperties -->
|
||
|
<menuitem id="objectProperties_cm" observes="cmd_objectProperties"/>
|
||
|
<menuitem id="editLink_cm" label="&editLinkCmd.label;" accesskey="&editlink.accesskey;" command="cmd_editLink"/>
|
||
|
<menuseparator id="property-separator"/>
|
||
|
|
||
|
<!-- Can't get submenus to load from a shared overlay -->
|
||
|
<menu id="tableInsertMenu_cm" label="&tableInsertMenu2.label;" accesskey="&tableinsertmenu.accesskey;">
|
||
|
<menupopup>
|
||
|
<menuitem label="&insertTableCmd.label;" accesskey="&tabletable.accesskey;" observes="cmd_InsertTable"/>
|
||
|
<menuseparator />
|
||
|
<menuitem label="&tableRowAbove.label;" accesskey="&tablerow.accesskey;" observes="cmd_InsertRowAbove"/>
|
||
|
<menuitem label="&tableRowBelow.label;" accesskey="&tablerowbelow.accesskey;" observes="cmd_InsertRowBelow"/>
|
||
|
<menuseparator />
|
||
|
<menuitem label="&tableColumnBefore.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_InsertColumnBefore"/>
|
||
|
<menuitem label="&tableColumnAfter.label;" accesskey="&tablecolumnafter.accesskey;" observes="cmd_InsertColumnAfter"/>
|
||
|
<menuseparator />
|
||
|
<menuitem label="&tableCellBefore.label;" accesskey="&tablecell.accesskey;" observes="cmd_InsertCellBefore"/>
|
||
|
<menuitem label="&tableCellAfter.label;" accesskey="&tablecellafter.accesskey;" observes="cmd_InsertCellAfter"/>
|
||
|
</menupopup>
|
||
|
</menu>
|
||
|
<menu id="tableSelectMenu_cm" label="&tableSelectMenu2.label;" accesskey="&tableselectmenu.accesskey;">
|
||
|
<menupopup>
|
||
|
<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" />
|
||
|
</menupopup>
|
||
|
</menu>
|
||
|
<menu id="tableDeleteMenu_cm" label="&tableDeleteMenu2.label;" accesskey="&tabledeletemenu.accesskey;">
|
||
|
<menupopup>
|
||
|
<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"/>
|
||
|
</menupopup>
|
||
|
</menu>
|
||
|
<!-- menu label is set in InitTableMenu -->
|
||
|
<menuitem id="joinTableCells_cm" label="&tableJoinCells.label;" accesskey="&tablejoincells.accesskey;" observes="cmd_JoinTableCells"/>
|
||
|
<menuitem id="splitTableCell_cm" label="&tableSplitCell.label;" accesskey="&tablesplitcell.accesskey;" observes="cmd_SplitTableCell"/>
|
||
|
<menuitem id="tableOrCellColor_cm" label="&tableOrCellColor.label;" accesskey="&tableOrCellColor.accesskey;" observes="cmd_TableOrCellColor"/>
|
||
|
</popup>
|
||
|
|
||
|
<popup id="editorSourceContext">
|
||
|
<menuitem label="&undoCmd.label;" accesskey="&undo.accesskey;" command="cmd_undo"/>
|
||
|
<menuitem label="&redoCmd.label;" accesskey="&redo.accesskey;" command="cmd_redo"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem label="&cutCmd.label;" accesskey="&cut.accesskey;" command="cmd_cut"/>
|
||
|
<menuitem label="©Cmd.label;" accesskey="©.accesskey;" command="cmd_copy"/>
|
||
|
<menuitem label="&pasteCmd.label;" accesskey="&paste.accesskey;" command="cmd_paste"/>
|
||
|
<menuitem label="&deleteCmd.label;" accesskey="&delete.accesskey;" command="cmd_delete"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem label="&selectAllCmd.label;" accesskey="&selectall.accesskey;" command="cmd_selectAll"/>
|
||
|
</popup>
|
||
|
|
||
|
<popup id="structToolbarContext">
|
||
|
<menuitem id="structSelect" label="&structSelect.label;"
|
||
|
accesskey="&structSelect.accesskey;"
|
||
|
oncommand="StructSelectTag()"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem id="structRemoveTag" label="&structRemoveTag.label;"
|
||
|
accesskey="&structRemoveTag.accesskey;"
|
||
|
oncommand="StructRemoveTag()"/>
|
||
|
<menuitem id="structChangeTag" label="&structChangeTag.label;"
|
||
|
accesskey="&structChangeTag.accesskey;"
|
||
|
oncommand="StructChangeTag()"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem id="advancedPropsTag" label="&advancedPropertiesCmd.label;"
|
||
|
accesskey="&advancedproperties.accesskey;"
|
||
|
oncommand="OpenAdvancedProperties()"/>
|
||
|
</popup>
|
||
|
|
||
|
</popupset>
|
||
|
|
||
|
</overlay>
|