Fix when updating the text's layout size. 95/80695/1
authorVictor Cebollada <v.cebollada@samsung.com>
Tue, 19 Jul 2016 12:37:53 +0000 (13:37 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Tue, 19 Jul 2016 13:03:01 +0000 (14:03 +0100)
commit9526fca4abb513608cbd7fa15df39c4a69c12e0d
treed128cf17cd3fa3009c245cc61aa94f5ce5f21efd
parent1bd947edf624ffee8fd4b6ce43c53a9b08513e0f
Fix when updating the text's layout size.

* If text is selected from the start of a paragraph
  till the end of the text and then deleted, the
  layout engine doesn't layout any text and the new
  layout size was not updated.

  It allows scroll the text with the old layout size
  which is wrong.

Change-Id: Ia6c2ab4af9084c81a3d9e21c073df16f78ec7fc5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/layouts/layout-engine.cpp
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller-impl.h
dali-toolkit/internal/text/text-controller.cpp
dali-toolkit/internal/text/text-controller.h