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
                    IAnjutaEditorConvert;
                    IAnjutaEditorConvertIface;
GQuark              ianjuta_editor_convert_error_quark  (void);
void                ianjuta_editor_convert_to_lower     (IAnjutaEditorConvert *obj,
                                                         gint start_position,
                                                         gint end_position,
                                                         GError **err);
void                ianjuta_editor_convert_to_upper     (IAnjutaEditorConvert *obj,
                                                         gint start_position,
                                                         gint end_position,
                                                         GError **err);

Object Hierarchy


  GInterface
   +----IAnjutaEditorConvert

Prerequisites

IAnjutaEditorConvert requires IAnjutaEditor and GObject.

Description

Details

IANJUTA_EDITOR_CONVERT_ERROR

#define IANJUTA_EDITOR_CONVERT_ERROR ianjuta_editor_convert_error_quark()


IAnjutaEditorConvert

typedef struct _IAnjutaEditorConvert IAnjutaEditorConvert;


IAnjutaEditorConvertIface

typedef struct {
	IAnjutaEditorIface g_iface;
	

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


ianjuta_editor_convert_error_quark ()

GQuark              ianjuta_editor_convert_error_quark  (void);

Returns :

ianjuta_editor_convert_to_lower ()

void                ianjuta_editor_convert_to_lower     (IAnjutaEditorConvert *obj,
                                                         gint start_position,
                                                         gint 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,
                                                         gint start_position,
                                                         gint 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