## IAnjutaIndenter IAnjutaIndenter — Interface for automatic indentation |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libanjuta/interfaces/ianjuta-indenter.h>

    #define             IANJUTA_INDENTER_ERROR
    struct              IAnjutaIndenterIface;
    GQuark              ianjuta_indenter_error_quark        (void);
    void                ianjuta_indenter_indent             (IAnjutaIndenter *obj,
                                                             IAnjutaIterable *start,
                                                             IAnjutaIterable *end,
                                                             GError **err);

## Description

## Details

### IANJUTA_INDENTER_ERROR

    #define IANJUTA_INDENTER_ERROR ianjuta_indenter_error_quark()

### struct IAnjutaIndenterIface

    struct IAnjutaIndenterIface {
    	GTypeInterface g_iface;

    	void (*indent) (IAnjutaIndenter *obj, IAnjutaIterable* start,  IAnjutaIterable* end, GError **err);
    };

### ianjuta_indenter_error_quark ()

    GQuark              ianjuta_indenter_error_quark        (void);

### ianjuta_indenter_indent ()

    void                ianjuta_indenter_indent             (IAnjutaIndenter *obj,
                                                             IAnjutaIterable *start,
                                                             IAnjutaIterable *end,
                                                             GError **err);

Indent the area between `start` and `end` according to the indentation rules of the programming language. Usually implemented by language support plugins. Only one indenter can be loaded at a time. Note: Indenters always affect full lines, so start and end will be moved according to the next line start/end.

`obj` : | Self
`start` : | Start of the area to indent
`end` : | End of the area to indent
`err` : | Error propagation