forked from enlightenment/efl
Edje entry: use the newly added self-closing textblock tags.
SVN revision: 66024
This commit is contained in:
parent
0ec467892d
commit
7b9a398d5f
|
@ -1361,7 +1361,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
|
||||||
_sel_clear(en->cursor, rp->object, en);
|
_sel_clear(en->cursor, rp->object, en);
|
||||||
info->change.insert.pos =
|
info->change.insert.pos =
|
||||||
evas_textblock_cursor_pos_get(en->cursor);
|
evas_textblock_cursor_pos_get(en->cursor);
|
||||||
info->change.insert.content = eina_stringshare_add("<\t>");
|
info->change.insert.content = eina_stringshare_add("<\t/>");
|
||||||
//yy
|
//yy
|
||||||
// evas_textblock_cursor_format_prepend(en->cursor, "\t");
|
// evas_textblock_cursor_format_prepend(en->cursor, "\t");
|
||||||
_text_filter_format_prepend(en, en->cursor, "\t");
|
_text_filter_format_prepend(en, en->cursor, "\t");
|
||||||
|
@ -1432,14 +1432,14 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
|
||||||
//yy
|
//yy
|
||||||
// evas_textblock_cursor_format_prepend(en->cursor, "\n");
|
// evas_textblock_cursor_format_prepend(en->cursor, "\n");
|
||||||
_text_filter_format_prepend(en, en->cursor, "\n");
|
_text_filter_format_prepend(en, en->cursor, "\n");
|
||||||
info->change.insert.content = eina_stringshare_add("<\n>");
|
info->change.insert.content = eina_stringshare_add("<\n/>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//yy
|
//yy
|
||||||
// evas_textblock_cursor_format_prepend(en->cursor, "ps");
|
// evas_textblock_cursor_format_prepend(en->cursor, "ps");
|
||||||
_text_filter_format_prepend(en, en->cursor, "ps");
|
_text_filter_format_prepend(en, en->cursor, "ps");
|
||||||
info->change.insert.content = eina_stringshare_add("<ps>");
|
info->change.insert.content = eina_stringshare_add("<ps/>");
|
||||||
}
|
}
|
||||||
_anchors_get(en->cursor, rp->object, en);
|
_anchors_get(en->cursor, rp->object, en);
|
||||||
_edje_emit(ed, "entry,changed", rp->part->name);
|
_edje_emit(ed, "entry,changed", rp->part->name);
|
||||||
|
|
Loading…
Reference in New Issue