I was discussing editing client methods with George and Lars, and the following came up. WebKit (on the mac at least) appears to re- register undo items when you do an undo or redo action. See WebEditorClient.mm (registerCommandForUndoOrRedo), and Editor.cpp which calls registerCommandforUndo for both the original editing and a redo.
But the Cocoa documentation implies that this should not be necessary, NSUndoManager should adjust the undo chain on an Undo or Redo action: <http://developer.apple.com/documentation/Cocoa/ Conceptual/UndoArchitecture/>
Does anyone know why we are explicitly re-registering on undo and redo? Regards, Maciej _______________________________________________ webkit-dev mailing list firstname.lastname@example.org http://lists.webkit.org/mailman/listinfo/webkit-dev