On Sun, May 26, 2002 at 08:01:35PM +0100, John Levon wrote: > OK this kills the Undo * thing in favour of boost::shared_ptr. It's
Sorry, let me provide a more detailed summary : 1. Remove !DELETE_UNUSED_PARAGRAPHS code 2. remove UndoStack in favour of a template 3. use shared_ptr for managing Undos on the undo/redostack 4. make textUndo/Redo handle empty stack itself via handleNoUndo 5. make textHandleUndo operate on a reference since it is only called when there is an Undo now 6. Misc minor cleanups thanks john -- "Time is a great teacher, but unfortunately it kills all its pupils." - Hector Louis Berlioz