commit b0983e1c5a20ef6c07c3f9c03e301843da159c78
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Sun Nov 14 19:14:31 2021 +0100
Fixup 3aab9ad2: improve UndoGroupHelper docs again.
---
src/Undo.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/Undo.h b/src/Undo.h
index bdcf954..fbfb9e7 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:
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs