From 90b67a19b8a4c0e9cbc12b5a91f6bf4f9b3d7283 Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Fri, 14 Jul 2000 21:58:50 +0000 Subject: [PATCH] Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis. git-svn-id: svn://10.0.0.236/trunk@74262 18797224-902f-48f8-a5cc-f745e15eee43 --- .../composer/content/TextEditorAppShell.xul | 5 +- mozilla/editor/ui/composer/content/editor.js | 23 +- mozilla/editor/ui/composer/content/editor.xul | 2 + .../ui/composer/content/editorOverlay.xul | 9 +- mozilla/layout/base/nsPresShell.cpp | 170 ++++++------- mozilla/layout/html/base/src/nsPresShell.cpp | 170 ++++++------- .../html/forms/src/nsGfxTextControlFrame2.cpp | 226 +++++++++++++++--- .../content/mail3PaneWindowVertLayout.xul | 1 + .../base/resources/content/messenger.xul | 1 + .../resources/content/messengercompose.xul | 3 + .../browser/resources/content/navigator.xul | 1 + .../resources/content/utilityOverlay.js | 8 +- .../resources/content/utilityOverlay.xul | 5 + 13 files changed, 418 insertions(+), 206 deletions(-) diff --git a/mozilla/editor/ui/composer/content/TextEditorAppShell.xul b/mozilla/editor/ui/composer/content/TextEditorAppShell.xul index 585ab66b28d..87644fa4dbe 100644 --- a/mozilla/editor/ui/composer/content/TextEditorAppShell.xul +++ b/mozilla/editor/ui/composer/content/TextEditorAppShell.xul @@ -54,8 +54,9 @@ + - + @@ -111,7 +112,7 @@