From 4c84cb5563fdfef8374434ed3c7f4522e5aed4e5 Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Thu, 11 Nov 1999 20:56:03 +0000 Subject: [PATCH] 17983: Use editor's InsertAsQuotation even for plaintext. r=rhp git-svn-id: svn://10.0.0.236/trunk@53235 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/compose/src/nsMsgCompose.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/mozilla/mailnews/compose/src/nsMsgCompose.cpp b/mozilla/mailnews/compose/src/nsMsgCompose.cpp index 2b24efa3beb..1100324b3a3 100644 --- a/mozilla/mailnews/compose/src/nsMsgCompose.cpp +++ b/mozilla/mailnews/compose/src/nsMsgCompose.cpp @@ -113,19 +113,7 @@ nsresult ConvertAndLoadComposeWindow(nsIEditorShell *aEditor, nsString aBuf, PRBool aQuoted, PRBool aHTMLEditor) { // Now, insert it into the editor... - // - // Akkana: There is a problem inserting converted unicode text into - // the plain text editor with the InsertAsQuotation() method. - // InsertText works fine, but InsertAsQuotation() seems to give - // us a blank window. To see the bug, change the conditional below - // from: - // "if ( (aQuoted) && (aHTMLEditor) )" - // to: - // "if (aQuoted)" - // - // RICHIE SHERRY if (aQuoted) - // - if ( (aQuoted) && (aHTMLEditor) ) + if ( (aQuoted) ) aEditor->InsertAsQuotation(aBuf.GetUnicode()); else {