evas textblock: update format nodes when a Evas Textblock Style is updated
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 16 May 2018 17:21:08 +0000 (20:21 +0300)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 01:51:27 +0000 (10:51 +0900)
commitb3d8ae88014e49fcd94195fb701bacfb399d05d4
tree5ce87cc3a02dc9630634eff9fc0474f6a3d4ab5b
parent424753d73c3be9b38bced26b810df88fe7a45348
evas textblock: update format nodes when a Evas Textblock Style is updated

Summary:
A style tag among a text has to be replcaed by its matched tag when
a format node is created. If the matched tag is changed, format nodes
should be updated.
But, if a style text for Evas Textblock Style is changed,
related format nodes are not updated without setting new text.
The patch changes to update format nodes when new style text is set.
@fix

Test Plan: Included in Evas Test Suite.

Reviewers: raster, tasn, herdsman, subodh6129, zmike

Subscribers: zmike, cedric, z-wony, Blackmole

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D4697

Committer's note: rebased.
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c