forked from enlightenment/efl
Evas textblock: Adding visible formats - only invalidate current node.
No need to invalidate all the nodes when adding visible formats because they are "like regular text". SVN revision: 58428
This commit is contained in:
parent
54bf7e1c01
commit
eed9c92ee6
|
@ -6772,7 +6772,10 @@ evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const char *form
|
|||
}
|
||||
|
||||
_evas_textblock_changed(o, cur->obj);
|
||||
_evas_textblock_invalidate_all(o);
|
||||
if (!is_visible)
|
||||
_evas_textblock_invalidate_all(o);
|
||||
else if (cur->node)
|
||||
cur->node->dirty = EINA_TRUE;
|
||||
|
||||
return is_visible;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue