Fix for bug #8375: Editor API Log fails to set paragraph style.

Changed "window.editorShell.SetParagraphStyle(" to "window.editorShell.paragraphStyle =".
Approved by chofmann.
This commit is contained in:
kin%netscape.com 1999-06-17 04:40:08 +00:00
parent eab1c8b67e
commit 0d1eb2c7d1

View File

@ -158,9 +158,9 @@ nsJSEditorLog::SetParagraphFormat(const nsString& aParagraphFormat)
return NS_OK;
PrintSelection();
Write("window.editorShell.SetParagraphFormat(\"");
Write("window.editorShell.paragraphFormat = \"");
PrintUnicode(aParagraphFormat);
Write("\");\n");
Write("\";\n");
Flush();