diff options
Diffstat (limited to 'widgets/text/e-text-model.h')
-rw-r--r-- | widgets/text/e-text-model.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/text/e-text-model.h b/widgets/text/e-text-model.h index 7006b24eca..b8029c0e9e 100644 --- a/widgets/text/e-text-model.h +++ b/widgets/text/e-text-model.h @@ -43,7 +43,8 @@ struct _ETextModelClass { GtkObjectClass parent_class; /* Signal */ - void (* changed) (ETextModel *model); + void (* changed) (ETextModel *model); + void (* position) (ETextModel *model, gint position); /* Virtual methods */ char *(* get_text) (ETextModel *model); @@ -68,6 +69,8 @@ void e_text_model_insert(ETextModel *model, gint position, gchar *text); void e_text_model_insert_length(ETextModel *model, gint position, gchar *text, gint length); void e_text_model_delete(ETextModel *model, gint position, gint length); +void e_text_model_suggest_position(ETextModel *model, gint position); + gint e_text_model_object_count(ETextModel *model); const gchar *e_text_model_get_nth_object(ETextModel *model, gint n); void e_text_model_activate_nth_object(ETextModel *model, gint n); |