commit 3aab9ad25edcd527868f8f2b8a26262255952966
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Nov 12 16:47:41 2021 +0100
Fix documentation of UndoGroupHelper
---
src/Undo.h | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/Undo.h b/src/Undo.h
index 887f762..bdcf954 100644
--- a/src/Undo.h
+++ b/src/Undo.h
@@ -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
+ * 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)
*/
class UndoGroupHelper {
public:
+ // Create a new undo group for buffer \c buf.
UndoGroupHelper(Buffer * buf);
-
+ // End all created undo groups.
~UndoGroupHelper();
- /** Close the current undo group if necessary and create a new one
- * for buffer \c buf.
- */
+ // Create an additional 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