forked from enlightenment/efl
Evas textblock: Fixed issue with _textblock_clear and cursors.
Now it properly sets the remaining cursors. SVN revision: 72403
This commit is contained in:
parent
282783c949
commit
abd7d01a98
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue