]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
tex2lyx: fix import of umlauts and ß in math (#12739)
[lyx.git] / src / Undo.h
index 887f7627e1d54854800a34c00678971f77d1f63e..fbfb9e7dbbb3dc40ef3ca1f2fd27725dec470ab1 100644 (file)
@@ -130,19 +130,18 @@ private:
 
 /** Helper class to simplify the use of undo groups across several buffers.
  *
- *  The undo group is created when the object is instanciated; 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:
+       // Begin a new undo group for buffer \c buf.
        UndoGroupHelper(Buffer * buf);
-
+       // End all active undo groups.
        ~UndoGroupHelper();
 
-       /** Close the current undo group if necessary and create a new one
-        * for buffer \c buf.
-        */
+       // Begin if needed an undo group for buffer \c buf.
        void resetBuffer(Buffer * buf);
 
 private: