X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=c89bb4a8113312c7f914ef8cd83c8c7721beae90;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=0412253c8a3eb4203a1bf4bf8b54f42618be5764;hpb=a1c21d9c79da0b871aea3f00171a6ead22eccae3;p=lyx.git diff --git a/src/Undo.h b/src/Undo.h index 0412253c8a..c89bb4a811 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -5,10 +5,10 @@ * Licence details can be found in the file COPYING. * * \author Asger Alstrup - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author John Levon - * \author André Pönitz - * \author Jürgen Vigna + * \author André Pönitz + * \author Jürgen Vigna * \author Abdelrazak Younes * * Full author contact details are available in file CREDITS. @@ -67,7 +67,11 @@ public: /// bool hasRedoStack() const; - /// open a new group of undo operations. Groups can be nested. + /// open a new group of undo operations. + /** + * Groups can be nested. Such a nested group e.g. { {} {} } is undone in + * a single step. This means you can add a group whenever you are not sure. + */ void beginUndoGroup(); /// end the current undo group.