From 6886a5b88319ab77000efdadfb9e414c97fe66bf Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Fri, 21 Apr 2000 15:00:23 +0000 Subject: [PATCH] Lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com --- editor/ui/composer/content/EditorCommands.js | 6 + editor/ui/composer/content/editor.xul | 8 +- editor/ui/composer/content/editorOverlay.xul | 36 +- editor/ui/composer/content/sidebar-editor.xul | 4 +- .../composer/locale/en-US/editorOverlay.dtd | 2 + editor/ui/dialogs/content/EdAdvancedEdit.xul | 16 +- editor/ui/dialogs/content/EdColorProps.xul | 26 +- editor/ui/dialogs/content/EdDialogCommon.js | 38 +- .../ui/dialogs/content/EdDialogTemplate.xul | 2 +- editor/ui/dialogs/content/EdDictionary.xul | 6 +- editor/ui/dialogs/content/EdHLineProps.js | 2 +- editor/ui/dialogs/content/EdHLineProps.xul | 8 +- editor/ui/dialogs/content/EdImageMap.xul | 6 +- .../ui/dialogs/content/EdImageMapHotSpot.xul | 2 +- editor/ui/dialogs/content/EdImageProps.js | 12 +- editor/ui/dialogs/content/EdImageProps.xul | 32 +- editor/ui/dialogs/content/EdInsSrc.xul | 4 +- editor/ui/dialogs/content/EdInsertChars.js | 485 ++++++++++++++++++ editor/ui/dialogs/content/EdInsertChars.xul | 81 +++ editor/ui/dialogs/content/EdInsertTable.js | 51 +- editor/ui/dialogs/content/EdInsertTable.xul | 39 +- editor/ui/dialogs/content/EdLinkProps.js | 15 +- editor/ui/dialogs/content/EdLinkProps.xul | 22 +- editor/ui/dialogs/content/EdListProps.xul | 6 +- .../ui/dialogs/content/EdNamedAnchorProps.xul | 6 +- editor/ui/dialogs/content/EdPageProps.xul | 22 +- editor/ui/dialogs/content/EdSpellCheck.js | 21 +- editor/ui/dialogs/content/EdSpellCheck.xul | 20 +- editor/ui/dialogs/content/EdTableProps.xul | 8 +- editor/ui/dialogs/content/MANIFEST | 2 + editor/ui/dialogs/content/Makefile.in | 2 + editor/ui/dialogs/content/makefile.win | 4 + .../locale/en-US/EditorInsertChars.dtd | 34 ++ .../locale/en-US/EditorInsertTable.dtd | 6 +- editor/ui/dialogs/locale/en-US/MANIFEST | 2 + editor/ui/dialogs/locale/en-US/Makefile.in | 1 + editor/ui/dialogs/locale/en-US/makefile.win | 2 + editor/ui/dialogs/skin/EditorDialog.css | 158 ++---- 38 files changed, 876 insertions(+), 321 deletions(-) create mode 100644 editor/ui/dialogs/content/EdInsertChars.js create mode 100644 editor/ui/dialogs/content/EdInsertChars.xul create mode 100644 editor/ui/dialogs/locale/en-US/EditorInsertChars.dtd diff --git a/editor/ui/composer/content/EditorCommands.js b/editor/ui/composer/content/EditorCommands.js index d09159b1b363..7ae2911cbd00 100644 --- a/editor/ui/composer/content/EditorCommands.js +++ b/editor/ui/composer/content/EditorCommands.js @@ -971,6 +971,12 @@ function EditorInsertOrEditHLine() contentWindow.focus(); } +function EditorInsertChars() +{ + window.openDialog("chrome://editor/content/EdInsertChars.xul", "_blank", "chrome,close,titlebar", ""); + contentWindow.focus(); +} + function EditorInsertOrEditNamedAnchor() { window.openDialog("chrome://editor/content/EdNamedAnchorProps.xul", "_blank", "chrome,close,titlebar,modal", ""); diff --git a/editor/ui/composer/content/editor.xul b/editor/ui/composer/content/editor.xul index 7b10230c562c..7ef4bb118474 100644 --- a/editor/ui/composer/content/editor.xul +++ b/editor/ui/composer/content/editor.xul @@ -42,7 +42,7 @@ titlemodifier="&editorWindow.titlemodifier;" titlemenuseparator="&editorWindow.titlemodifiermenuseparator;" windowtype="composer:html" - align="vertical" + orient="vertical" width="640" height="480" screenX="10" screenY="10" persist="screenX screenY width height" @@ -147,7 +147,7 @@