Evas textblock: Fixed issue with _textblock_clear and cursors.

Now it properly sets the remaining cursors.

SVN revision: 72403
This commit is contained in:
Tom Hacohen 2012-06-18 13:44:26 +00:00
parent 282783c949
commit abd7d01a98
1 changed files with 6 additions and 0 deletions

View File

@ -9101,6 +9101,12 @@ evas_object_textblock_clear(Evas_Object *obj)
cur->pos = 0;
}
/* Force recreation of everything for textblock.
* FIXME: We have the same thing in other places, merge it... */
evas_textblock_cursor_paragraph_first(o->cursor);
evas_textblock_cursor_text_append(o->cursor, "");
_evas_textblock_changed(o, obj);
}