![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
enum IAnjutaDocumentManagerError; #define IANJUTA_DOCUMENT_MANAGER_ERROR IAnjutaDocumentManager; IAnjutaDocumentManagerIface; GQuark ianjuta_document_manager_error_quark (void); IAnjutaEditor* ianjuta_document_manager_add_buffer (IAnjutaDocumentManager *obj, const gchar *name, const gchar *content, GError **err); IAnjutaEditor* ianjuta_document_manager_find_editor_with_path (IAnjutaDocumentManager *obj, const gchar *file_path, GError **err); IAnjutaEditor* ianjuta_document_manager_get_current_editor (IAnjutaDocumentManager *obj, GError **err); GList* ianjuta_document_manager_get_editors (IAnjutaDocumentManager *obj, GError **err); const gchar* ianjuta_document_manager_get_full_filename (IAnjutaDocumentManager *obj, const gchar *file, GError **err); void ianjuta_document_manager_goto_file_line (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, GError **err); void ianjuta_document_manager_goto_file_line_mark (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, gboolean mark, GError **err); void ianjuta_document_manager_set_current_editor (IAnjutaDocumentManager *obj, IAnjutaEditor *editor, GError **err);
typedef enum { IANJUTA_DOCUMENT_MANAGER_DOESNT_EXIST } IAnjutaDocumentManagerError;
#define IANJUTA_DOCUMENT_MANAGER_ERROR ianjuta_document_manager_error_quark()
typedef struct { GTypeInterface g_iface; IAnjutaEditor* (*add_buffer) (IAnjutaDocumentManager *obj, const gchar *name, const gchar* content, GError **err); IAnjutaEditor* (*find_editor_with_path) (IAnjutaDocumentManager *obj, const gchar *file_path, GError **err); IAnjutaEditor* (*get_current_editor) (IAnjutaDocumentManager *obj, GError **err); GList* (*get_editors) (IAnjutaDocumentManager *obj, GError **err); const gchar * (*get_full_filename) (IAnjutaDocumentManager *obj, const gchar *file, GError **err); void (*goto_file_line) (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, GError **err); void (*goto_file_line_mark) (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, gboolean mark, GError **err); void (*set_current_editor) (IAnjutaDocumentManager *obj, IAnjutaEditor *editor, GError **err); } IAnjutaDocumentManagerIface;
GQuark ianjuta_document_manager_error_quark (void);
Returns : |
IAnjutaEditor* ianjuta_document_manager_add_buffer (IAnjutaDocumentManager *obj, const gchar *name, const gchar *content, GError **err);
New editor buffer
obj : |
Self |
name : |
fixme |
content : |
fixme |
err : |
Error propagation and reporting. |
Returns : |
IAnjutaEditor* ianjuta_document_manager_find_editor_with_path (IAnjutaDocumentManager *obj, const gchar *file_path, GError **err);
fixme
obj : |
Self |
file_path : |
fixme |
err : |
Error propagation and reporting. |
Returns : |
IAnjutaEditor* ianjuta_document_manager_get_current_editor (IAnjutaDocumentManager *obj, GError **err);
fixme
obj : |
Self |
err : |
Error propagation and reporting. |
Returns : |
GList* ianjuta_document_manager_get_editors (IAnjutaDocumentManager *obj, GError **err);
fixme
obj : |
Self |
err : |
Error propagation and reporting. |
Returns : |
const gchar* ianjuta_document_manager_get_full_filename (IAnjutaDocumentManager *obj, const gchar *file, GError **err);
fixme.
obj : |
Self |
file : |
fixme |
err : |
Error propagation and reporting. |
Returns : |
void ianjuta_document_manager_goto_file_line (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, GError **err);
fixme
obj : |
Self |
file : |
fixme |
lineno : |
fixme |
err : |
Error propagation and reporting. |
void ianjuta_document_manager_goto_file_line_mark (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, gboolean mark, GError **err);
fixme
obj : |
Self |
file : |
fixme |
lineno : |
fixme |
mark : |
fixme |
err : |
Error propagation and reporting |
void ianjuta_document_manager_set_current_editor (IAnjutaDocumentManager *obj, IAnjutaEditor *editor, GError **err);
fixme
obj : |
Self |
editor : |
fixme |
err : |
Error propagation and reporting. |