From 9877421283a4ae6e3888f165a0a34f2ff3817dd8 Mon Sep 17 00:00:00 2001 From: "jfrancis%netscape.com" Date: Thu, 29 Jul 1999 23:40:21 +0000 Subject: [PATCH] fixed blocker bug 10698; rvwd: akkana; apprvd: chofmann git-svn-id: svn://10.0.0.236/trunk@41563 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/base/nsHTMLEditor.cpp | 11 ----------- mozilla/editor/libeditor/html/nsHTMLEditor.cpp | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/mozilla/editor/base/nsHTMLEditor.cpp b/mozilla/editor/base/nsHTMLEditor.cpp index 2a2322c2244..339ebfcb7b1 100644 --- a/mozilla/editor/base/nsHTMLEditor.cpp +++ b/mozilla/editor/base/nsHTMLEditor.cpp @@ -349,17 +349,6 @@ NS_IMETHODIMP nsHTMLEditor::InsertBreak() res = mRules->DidDoAction(selection, &ruleInfo, res); } - // Insert some formatting whitespace: - nsAutoString whitespace(NS_LINEBREAK); - (void)nsEditor::InsertText(whitespace); - -// XXXX: Horrible hack! We are doing this because -// of an error in Gecko which is not rendering the -// document after a change via the DOM - gpk 2/13/99 - // BEGIN HACK!!! - // HACKForceRedraw(); - // END HACK - return res; } diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp index 2a2322c2244..339ebfcb7b1 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp @@ -349,17 +349,6 @@ NS_IMETHODIMP nsHTMLEditor::InsertBreak() res = mRules->DidDoAction(selection, &ruleInfo, res); } - // Insert some formatting whitespace: - nsAutoString whitespace(NS_LINEBREAK); - (void)nsEditor::InsertText(whitespace); - -// XXXX: Horrible hack! We are doing this because -// of an error in Gecko which is not rendering the -// document after a change via the DOM - gpk 2/13/99 - // BEGIN HACK!!! - // HACKForceRedraw(); - // END HACK - return res; }