X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=fbfb9e7dbbb3dc40ef3ca1f2fd27725dec470ab1;hb=48d9d01a826eb9f1c1e7c62edb664ec97f6a6e8d;hp=bdcf95458b0dad59702b75be05aa6daaaf50cd64;hpb=3aab9ad25edcd527868f8f2b8a26262255952966;p=features.git diff --git a/src/Undo.h b/src/Undo.h index bdcf95458b..fbfb9e7dbb 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -130,18 +130,18 @@ private: /** Helper class to simplify the use of undo groups across several buffers. * - * The undo group is created when the object is instantiated; it is - * then ended as the object goes out of scope or the buffer is reset - * (see below) + * The undo group is open when the object is instantiated or when + * the buffer is reset; it is then ended as the object goes out of + * scope (see below) */ class UndoGroupHelper { public: - // Create a new undo group for buffer \c buf. + // Begin a new undo group for buffer \c buf. UndoGroupHelper(Buffer * buf); - // End all created undo groups. + // End all active undo groups. ~UndoGroupHelper(); - // Create an additional undo group for buffer \c buf. + // Begin if needed an undo group for buffer \c buf. void resetBuffer(Buffer * buf); private: