Jean-Marc Lasgouttes wrote: > Pavel Sanda <[EMAIL PROTECTED]> writes: > > btw i would be grateful if you can add some commentaries to undo.h, > > my question was how recordUndo should be used - the current > > commentary says 'prepare' undo as if something should be done to > > finish it and the commentary on finishUndo didn't help :) > > Is it clearer now?
yes; can i add this too? pavel
diff --git a/src/Undo.h b/src/Undo.h index 8945b58..3844e7d 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -59,7 +59,7 @@ public: bool textRedo(DocIterator &); /// End a sequence of INSERT_UNDO or DELETE_UNDO type of undo - /// operations. + /// operations (grouping of consecutive characters insertion/deletion). void finishUndo(); ///