In the 01/18/2000 WinNt and Mac builds, redoing typed text adds new lines to the content. To reproduce: 1. Start up a blank editor window. 2. Type some text. 3. Undo everything you just typed. (CTRL-Z or Edit->Undo) 4. Now try to Redo everything. You will notice that you will get a blank line for every time you try to redo. If you do enough of them vertical scrollbars will appear on the right side of the window.
Reassigning to firstname.lastname@example.org.
Accepting bug. I have a fix for this that was reviewed by email@example.com.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Fix checked in and should appear in the 01/19/2000 QA builds: mozilla/editor/base/nsEditor.cpp mozilla/editor/base/nsEditor.h - Added IsMozEditorBogusNode() method. mozilla/editor/base/nsTextEditRules.cpp - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a MozEditorBogusNode so that it doesn't create more than one. - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode(). firstname.lastname@example.org
will verify in 1/19 build.
verified in 1/19 build.
You need to log in before you can comment on or make changes to this bug.