161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer

git-svn-id: svn://10.0.0.236/trunk@131463 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com 2002-10-08 21:22:27 +00:00
parent 616941008e
commit b005e67b4f
2 changed files with 7 additions and 2 deletions

View File

@ -421,6 +421,7 @@ nsHTMLEditorLog::InsertAsQuotation(const nsAString& aQuotedText,
NS_IMETHODIMP
nsHTMLEditorLog::InsertAsPlaintextQuotation(const nsAString& aQuotedText,
PRBool aAddCites,
nsIDOMNode **aNodeInserted)
{
nsAutoHTMLEditorLogLock logLock(this);
@ -434,7 +435,9 @@ nsHTMLEditorLog::InsertAsPlaintextQuotation(const nsAString& aQuotedText,
Flush();
}
return nsHTMLEditor::InsertAsPlaintextQuotation(aQuotedText, aNodeInserted);
return nsHTMLEditor::InsertAsPlaintextQuotation(aQuotedText,
aAddCites,
aNodeInserted);
}
NS_IMETHODIMP

View File

@ -93,7 +93,9 @@ public:
NS_IMETHOD PasteAsCitedQuotation(const nsAString& aCitation,
PRInt32 aSelectionType);
NS_IMETHOD InsertAsQuotation(const nsAString& aQuotedText, nsIDOMNode** aNodeInserted);
NS_IMETHOD InsertAsPlaintextQuotation(const nsAString& aQuotedText, nsIDOMNode** aNodeInserted);
NS_IMETHOD InsertAsPlaintextQuotation(const nsAString& aQuotedText,
PRBool aAddCites,
nsIDOMNode** aNodeInserted);
NS_IMETHOD InsertAsCitedQuotation(const nsAString& aQuotedText, const nsAString& aCitation,
PRBool aInsertHTML, const nsAString& aCharset,
nsIDOMNode** aNodeInserted);