Efl.Text.Annotate (interface)

Description

Cursor API

Since 1.20

Members

annotation (get, set)

A new format for annotation.
const char *efl_text_annotation_get(const Eo *obj, Efl_Text_Annotate_Annotation *annotation);
Eina_Bool efl_text_annotation_set(Eo *obj, Efl_Text_Annotate_Annotation *annotation, const char *format);


annotation_del

Deletes given annotation.
Eina_Bool efl_text_annotation_del(Eo *obj, Efl_Text_Annotate_Annotation *annotation);


annotation_insert

Inserts an annotation format in a specified range [start, end - 1].
Efl_Text_Annotate_Annotation *efl_text_annotation_insert(Eo *obj, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end, const char *format);


annotation_positions_get

Sets given cursors to the start and end positions of the annotation.
void efl_text_annotation_positions_get(Eo *obj, const Efl_Text_Annotate_Annotation *annotation, Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end);


cursor_object_item_annotation (get)

The object-item annotation at the cursor's position.
Efl_Text_Annotate_Annotation *efl_text_cursor_object_item_annotation_get(const Eo *obj, Efl_Text_Cursor_Cursor *cur);


cursor_object_item_insert

Inserts a object item at specified position.
Efl_Text_Annotate_Annotation *efl_text_cursor_object_item_insert(Eo *obj, Efl_Text_Cursor_Cursor *cur, const char *format);


object_item_geometry_get

Queries a given object item for its geometry.
Eina_Bool efl_text_object_item_geometry_get(Eo *obj, const Efl_Text_Annotate_Annotation *an, int *x, int *y, int *w, int *h);


range_annotations_get

Returns an iterator of all the handles in a range.
Eina_Iterator *efl_text_range_annotations_get(Eo *obj, const Efl_Text_Cursor_Cursor *start, const Efl_Text_Cursor_Cursor *end);


Events