From fbb3c4f42e23f6c4fd67751a71ded09e951fce68 Mon Sep 17 00:00:00 2001 From: "kin%netscape.com" Date: Fri, 20 Nov 1998 20:59:40 +0000 Subject: [PATCH] Corrected comments for Do(), Undo(), and Redo(). git-svn-id: svn://10.0.0.236/trunk@15044 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/txmgr/public/nsITransactionManager.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/editor/txmgr/public/nsITransactionManager.h b/mozilla/editor/txmgr/public/nsITransactionManager.h index 898af5fd092..74bcabc9b8a 100644 --- a/mozilla/editor/txmgr/public/nsITransactionManager.h +++ b/mozilla/editor/txmgr/public/nsITransactionManager.h @@ -43,7 +43,7 @@ class nsITransactionManager : public nsISupports{ public: /** - * Places a transaction on the do stack and calls it's Do() method. + * Calls a transaction's Do() method, then pushes it on the undo stack. *

* This method calls the transaction's AddRef() method. * The transaction's Release() method will be called when the undo or redo @@ -53,14 +53,14 @@ public: virtual nsresult Do(nsITransaction *aTransaction) = 0; /** - * Pops the topmost transaction on the do stack, pushes it on the undo - * stack, then calls it's Undo() method. + * Pops the topmost transaction on the undo stack, calls it's Undo() method, + * then pushes it on the redo stack. */ virtual nsresult Undo(void) = 0; /** - * Pops the topmost transaction on the undo stack, pushes it on the redo - * stack, then calls it's Redo() method. + * Pops the topmost transaction on the redo stack, calls it's Redo() method, + * then pushes it on the undo stack. */ virtual nsresult Redo(void) = 0;