IAnjutaEditorConvert

IAnjutaEditorConvert — Text editor convert interface

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <libanjuta/interfaces/ianjuta-editor-convert.h>

#define             IANJUTA_EDITOR_CONVERT_ERROR
struct              IAnjutaEditorConvertIface;
GQuark              ianjuta_editor_convert_error_quark  (void);
void                ianjuta_editor_convert_to_lower     (IAnjutaEditorConvert *obj,
                                                         IAnjutaIterable *start_position,
                                                         IAnjutaIterable *end_position,
                                                         GError **err);
void                ianjuta_editor_convert_to_upper     (IAnjutaEditorConvert *obj,
                                                         IAnjutaIterable *start_position,
                                                         IAnjutaIterable *end_position,
                                                         GError **err);

Description

Details

IANJUTA_EDITOR_CONVERT_ERROR

#define IANJUTA_EDITOR_CONVERT_ERROR ianjuta_editor_convert_error_quark()


struct IAnjutaEditorConvertIface

struct IAnjutaEditorConvertIface {
	IAnjutaEditorIface g_iface;
	

	void (*to_lower) (IAnjutaEditorConvert *obj, IAnjutaIterable *start_position,  IAnjutaIterable *end_position, GError **err);
	void (*to_upper) (IAnjutaEditorConvert *obj, IAnjutaIterable *start_position,  IAnjutaIterable *end_position, GError **err);
};


ianjuta_editor_convert_error_quark ()

GQuark              ianjuta_editor_convert_error_quark  (void);


ianjuta_editor_convert_to_lower ()

void                ianjuta_editor_convert_to_lower     (IAnjutaEditorConvert *obj,
                                                         IAnjutaIterable *start_position,
                                                         IAnjutaIterable *end_position,
                                                         GError **err);

change characters from start position to end position to lowercase

obj :

Self

start_position :

Start position.

end_position :

End position.

err :

Error propagation and reporting

ianjuta_editor_convert_to_upper ()

void                ianjuta_editor_convert_to_upper     (IAnjutaEditorConvert *obj,
                                                         IAnjutaIterable *start_position,
                                                         IAnjutaIterable *end_position,
                                                         GError **err);

change characters from start position to end position to uppercase.

obj :

Self

start_position :

Start position.

end_position :

End position.

err :

Error propagation and reporting