InfTextUndoGrouping

InfTextUndoGrouping — Undo grouping for text operations

Synopsis

#include <libinftext/inf-text-undo-grouping.h>

                    InfTextUndoGrouping;
InfTextUndoGrouping * inf_text_undo_grouping_new        (void);

Object Hierarchy

  GObject
   +----InfAdoptedUndoGrouping
         +----InfTextUndoGrouping

Description

InfTextUndoGrouping handles undo grouping for text operations. It makes sure many insert or delete operations occuring in a row can be undone simultaneousely, taking into account that other users might have issued requests inbetween.

Using this class you don't need to connect to "group-requests" to perform the grouping./

Details

InfTextUndoGrouping

typedef struct _InfTextUndoGrouping InfTextUndoGrouping;

InfTextUndoGrouping is an opaque data type. You should only access it via the public API functions.


inf_text_undo_grouping_new ()

InfTextUndoGrouping * inf_text_undo_grouping_new        (void);

Creates a new InfTextUndoGrouping.

Returns :

A new InfTextUndoGrouping. To be freed with g_object_unref().

See Also

InfAdoptedUndoGrouping