From ac9740ad62af85fed7071b28bbcbd972437d1bb8 Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 16 Mar 2010 04:10:03 +0000 Subject: [PATCH] bug-- git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_entry.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 923dd2e..e1de7b8 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -205,7 +205,7 @@ _curs_back(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en) static void _curs_next(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en) { - int ln, ln2; + int ln, ln2, ok; Eina_Bool eol; ln = evas_textblock_cursor_line_geometry_get(c, NULL, NULL, NULL, NULL); @@ -222,12 +222,20 @@ _curs_next(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en) _curs_update_from_curs(c, o, en); return; } - if (!evas_textblock_cursor_node_next(c)) + ok = evas_textblock_cursor_node_next(c); + if (!ok) { evas_textblock_cursor_line_last(c); _curs_update_from_curs(c, o, en); return; } + while (evas_textblock_cursor_node_format_get(c)) + { + if (evas_textblock_cursor_node_format_is_visible_get(c)) + break; + if (!evas_textblock_cursor_node_next(c)) + break; + } return; } evas_textblock_cursor_eol_set(c, 0); -- 2.7.4