## InfTextDefaultDeleteOperation InfTextDefaultDeleteOperation |

## Synopsis

                        InfTextDefaultDeleteOperation;
    InfTextDefaultDeleteOperation * inf_text_default_delete_operation_new
                                                            (guint position,
                                                             InfTextChunk *chunk);
    InfTextChunk *      inf_text_default_delete_operation_get_chunk
                                                            (InfTextDefaultDeleteOperation *operation);

## Object Hierarchy

      GObject
       +----InfTextDefaultDeleteOperation

## Implemented Interfaces

InfTextDefaultDeleteOperation implements InfAdoptedOperation and InfTextDeleteOperation.

## Properties

      "chunk"                    InfTextChunk*         : Read / Write / Construct Only
      "position"                 guint                 : Read / Write / Construct Only

## Description

## Details

### InfTextDefaultDeleteOperation

    typedef struct _InfTextDefaultDeleteOperation InfTextDefaultDeleteOperation;

### inf_text_default_delete_operation_new ()

    InfTextDefaultDeleteOperation * inf_text_default_delete_operation_new
                                                            (guint position,
                                                             InfTextChunk *chunk);

Creates a new delete operation that, when applied, deletes the text `chunk` that starts at character offset `position` in the buffer. The operation cannot be applied, if there is some other text at that position in the buffer.

`position` : | The position at which to delete text.
`chunk` : | The text to delete.
Returns : | A new InfTextDefaultDeleteOperation.

### inf_text_default_delete_operation_get_chunk ()

    InfTextChunk *      inf_text_default_delete_operation_get_chunk
                                                            (InfTextDefaultDeleteOperation *operation);

Returns the text deleted by `operation`.

`operation` : | A InfTextDefaultDeleteOperation.
Returns : | A InfTextChunk, owned by the operation.

## Property Details

### The `"chunk"` property

      "chunk"                    InfTextChunk*         : Read / Write / Construct Only

The deleted text.

### The `"position"` property

      "position"                 guint                 : Read / Write / Construct Only

Position where to start deleting characters.

Default value: 0