{
Evas_Object *en = data;
efl_text_cursor_object_item_insert(en, efl_text_cursor_get(en, EFL_TEXT_CURSOR_GET_MAIN),
- "size=32x32 href=emoticon");
+ "size=32x32 href=emoticon/evil-laugh");
}
static void
Eo *obj = an->obj;
Evas_Object *item_obj;
+ if (!an->name) return NULL;
+
EFL_UI_TEXT_DATA_GET(obj, sd);
EINA_INLIST_FOREACH(sd->item_objs, io)
an->sel = eina_list_append(an->sel, rect);
ob = _item_obj_get(an, o, smart, clip);
- rect->obj = ob;
- efl_text_object_item_geometry_get(an->obj,
- an->annotation, &cx, &cy, &cw, &ch);
- evas_object_move(rect->obj, x + cx, y + cy);
- evas_object_resize(rect->obj, cw, ch);
+ if (ob)
+ {
+ rect->obj = ob;
+
+ efl_text_object_item_geometry_get(an->obj,
+ an->annotation, &cx, &cy, &cw, &ch);
+ evas_object_move(rect->obj, x + cx, y + cy);
+ evas_object_resize(rect->obj, cw, ch);
+ }
}
}
// for link anchors