[Tizen] Fix the valid condition of text update 85/288685/1
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 15 Feb 2023 08:21:19 +0000 (17:21 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 21 Feb 2023 07:16:24 +0000 (16:16 +0900)
commitaffa9ff543493a0ac4f88afaa89f88776fa3d0ff
tree3699a1986f18eea369fb226f4d5a76ab4cdfbf5b
parentdfd4a0df95ca3dd59a9770117f39540df7375814
[Tizen] Fix the valid condition of text update

Even when numberOfCharacters is 0u,
mParagraphCharacterIndex and mRequestedNumberOfCharacters cannot be greater than numberOfCharacters.

But in this case(text is empty), normal operation can be guaranteed by clear of update info.

Change-Id: Iad714d19598943492bae5eb51f1904a22d57b66c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-Controller.cpp
dali-toolkit/internal/text/text-controller-impl-model-updater.cpp