tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=94e6f6a5bc388c1a3c43113a8a37f25b758f0344
commit 94e6f6a5bc388c1a3c43113a8a37f25b758f0344 Author: Tom Hacohen <[email protected]> Date: Fri Sep 20 13:52:40 2013 +0100 Evas textblock: Fix wrong line spacing when appending lines. This fixes T397 which was introduced by commit: 4bcf4991ebf11b3035a. This also fixes the issues with enventor. --- src/lib/evas/canvas/evas_object_textblock.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 7ef33df..533deaa 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -4384,6 +4384,12 @@ _layout_par(Ctxt *c) EINA_INLIST_GET(c->par->lines)->last; if (ln) c->line_no = c->par->line_no + ln->line_no + 1; + + /* After this par we are no longer at the beginning, as there + * must be some text in the par. */ + if (c->position == TEXTBLOCK_POSITION_START) + c->position = TEXTBLOCK_POSITION_ELSE; + return 0; } c->par->text_node->dirty = EINA_FALSE; --
