Closed
Bug 126797
Opened 23 years ago
Closed 23 years ago
Undo/Redo doesn't work in Text widgets, Composer, and Mail
Categories
(Core :: DOM: Editor, defect, P1)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: kinmoz, Assigned: kinmoz)
Details
(Keywords: regression, smoketest)
Attachments
(1 file)
2.47 KB,
patch
|
kinmoz
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
Some nsDeque changes landed last night and one of the changes made to
nsTransactionStack.cpp prevents undo/redo from working.
I have a patch that fixes undo, but redo is not working at the moment, still
investigating.
The nsDeque changes I was referring to were for bug 114166.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.9
Severity: normal → blocker
Keywords: regression,
smoketest
nsTransactionStack::Peek() was intended to return NULL for an empty stack so I
changed timeless' change to return NS_OK and init the return value to zero.
timeless also changed the behavior of nsDeque::End(), it no longer returns an
interator that is one past the end. So nsTransactionStack::Peek() had to call
CurrentItem() instead of operator--.
I also backed out the changes to nsTransactionManager.cpp cause they are
unnecessary with the changes made to nsTransactionStack::Peek().
Comment on attachment 70596 [details] [diff] [review]
Patch Rev 1
r=timeless@bemail.org
sr=hyatt@netscape.com
a=leaf@mozilla.org
Attachment #70596 -
Flags: superreview+
Attachment #70596 -
Flags: review+
Fix checked into TRUNK:
mozilla/editor/txmgr/src/nsTransactionManager.cpp rev 1.38
mozilla/editor/txmgr/src/nsTransactionStack.cpp rev 1.18
Really marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 6•22 years ago
|
||
vrfy'd fixed with 2003.04.03. tested with html input fields, mail compose and
composer.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•