![]() | ![]() | ![]() | Anjuta Developers Reference Manual | ![]() |
---|
ianjuta-editorianjuta-editor — |
enum IAnjutaEditorError; #define IANJUTA_EDITOR_ERROR IAnjutaEditor; IAnjutaEditorIface; GQuark ianjuta_editor_error_quark (void); gchar* ianjuta_editor_get_attributes (IAnjutaEditor *obj, gint start, gint end, GError **err); gchar* ianjuta_editor_get_selection (IAnjutaEditor *obj, GError **err); gchar* ianjuta_editor_get_text (IAnjutaEditor *obj, gint start, gint end, GError **err); gint ianjuta_editor_get_lineno (IAnjutaEditor *obj, GError **err); gint ianjuta_editor_get_length (IAnjutaEditor *obj, GError **err); gint ianjuta_editor_get_position (IAnjutaEditor *obj, GError **err); gchar* ianjuta_editor_get_current_word (IAnjutaEditor *obj, GError **err); const gchar* ianjuta_editor_get_filename (IAnjutaEditor *obj, GError **err); void ianjuta_editor_goto_line (IAnjutaEditor *obj, gint lineno, GError **err); void ianjuta_editor_goto_position (IAnjutaEditor *obj, gint position, GError **err); void ianjuta_editor_insert (IAnjutaEditor *obj, int position, const gchar *text, gint length, GError **err);
typedef struct { GTypeInterface g_iface; /* Signal */ void (*char_added) (IAnjutaEditor *obj, gint position, gchar ch); /* Signal */ void (*update_ui) (IAnjutaEditor *obj); void (*append) (IAnjutaEditor *obj, const gchar *text, gint length, GError **err); void (*erase_all) (IAnjutaEditor *obj, GError **err); gchar* (*get_attributes) (IAnjutaEditor *obj, gint start, gint end, GError **err); gchar* (*get_current_word) (IAnjutaEditor *obj, GError **err); const gchar* (*get_filename) (IAnjutaEditor *obj, GError **err); gint (*get_length) (IAnjutaEditor *obj, GError **err); gint (*get_lineno) (IAnjutaEditor *obj, GError **err); gint (*get_position) (IAnjutaEditor *obj, GError **err); gchar* (*get_selection) (IAnjutaEditor *obj, GError **err); gchar* (*get_text) (IAnjutaEditor *obj, gint start, gint end, GError **err); void (*goto_line) (IAnjutaEditor *obj, gint lineno, GError **err); void (*goto_position) (IAnjutaEditor *obj, gint position, GError **err); void (*insert) (IAnjutaEditor *obj, int position, const gchar *text, gint length, GError **err); void (*replace_selection) (IAnjutaEditor *obj, const gchar *text, gint length, GError **err); } IAnjutaEditorIface;
gchar* ianjuta_editor_get_attributes (IAnjutaEditor *obj, gint start, gint end, GError **err);
obj : | |
start : | |
end : | |
err : | |
Returns : |
gchar* ianjuta_editor_get_selection (IAnjutaEditor *obj, GError **err);
obj : | |
err : | |
Returns : |
gchar* ianjuta_editor_get_text (IAnjutaEditor *obj, gint start, gint end, GError **err);
obj : | |
start : | |
end : | |
err : | |
Returns : |
gint ianjuta_editor_get_lineno (IAnjutaEditor *obj, GError **err);
Obtains number of the current line in the editor.
obj : | Self |
err : | Error propagation and reporting |
Returns : | Line number. |
gint ianjuta_editor_get_length (IAnjutaEditor *obj, GError **err);
obj : | |
err : | |
Returns : |
gint ianjuta_editor_get_position (IAnjutaEditor *obj, GError **err);
obj : | |
err : | |
Returns : |
gchar* ianjuta_editor_get_current_word (IAnjutaEditor *obj, GError **err);
obj : | |
err : | |
Returns : |
const gchar* ianjuta_editor_get_filename (IAnjutaEditor *obj, GError **err);
Allows obtaining of the filename the editor was loaded from.
obj : | Self |
err : | Error propagation and reporting |
Returns : | The name of the file. Not to be freed by caller. |
void ianjuta_editor_goto_line (IAnjutaEditor *obj, gint lineno, GError **err);
obj : | |
lineno : | |
err : |
void ianjuta_editor_goto_position (IAnjutaEditor *obj, gint position, GError **err);
obj : | |
position : | |
err : |
void ianjuta_editor_insert (IAnjutaEditor *obj, int position, const gchar *text, gint length, GError **err);
obj : | |
position : | |
text : | |
length : | |
err : |
<< Plugin interfaces | ianjuta-buildable >> |