![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#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
);
struct IAnjutaIndenterIface { GTypeInterface g_iface; void (*indent) (IAnjutaIndenter *obj, IAnjutaIterable* start, IAnjutaIterable* end, GError **err); };
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.
|
Self |
|
Start of the area to indent |
|
End of the area to indent |
|
Error propagation |