mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix documentation of UndoGroupHelper
This commit is contained in:
parent
16ce82d4f9
commit
3aab9ad25e
@ -130,19 +130,18 @@ private:
|
|||||||
|
|
||||||
/** Helper class to simplify the use of undo groups across several buffers.
|
/** 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
|
* then ended as the object goes out of scope or the buffer is reset
|
||||||
* (see below)
|
* (see below)
|
||||||
*/
|
*/
|
||||||
class UndoGroupHelper {
|
class UndoGroupHelper {
|
||||||
public:
|
public:
|
||||||
|
// Create a new undo group for buffer \c buf.
|
||||||
UndoGroupHelper(Buffer * buf);
|
UndoGroupHelper(Buffer * buf);
|
||||||
|
// End all created undo groups.
|
||||||
~UndoGroupHelper();
|
~UndoGroupHelper();
|
||||||
|
|
||||||
/** Close the current undo group if necessary and create a new one
|
// Create an additional undo group for buffer \c buf.
|
||||||
* for buffer \c buf.
|
|
||||||
*/
|
|
||||||
void resetBuffer(Buffer * buf);
|
void resetBuffer(Buffer * buf);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user