[Tizen] Fix Crash when the InsertText event is executed multiple times between Relayout. 04/309804/1 accepted/tizen/8.0/unified/20240418.161559
authorANZ1217 <chihun.jeong@samsung.com>
Mon, 8 Apr 2024 11:46:52 +0000 (20:46 +0900)
committerANZ1217 <chihun.jeong@samsung.com>
Wed, 17 Apr 2024 03:12:15 +0000 (12:12 +0900)
commit5495b8aa7f238f59d7a2a578becd74feea1ccf4b
tree69b60a45e71cdefcc1b7401eca4991a047546384
parentfbb452ac8d0731a9a4c687698871fd00eed1172c
[Tizen] Fix Crash when the InsertText event is executed multiple times between Relayout.

When using IME, InsertText may be executed multiple times within one relayout.
Fix the problem that length of the text cannot be calculated correctly.

Change-Id: Id47f7bbacf90a098055fc7b6ae0d4931a9facde2
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-Controller.cpp
dali-toolkit/internal/text/controller/text-controller-event-handler.cpp
dali-toolkit/internal/text/controller/text-controller-text-updater.cpp
dali-toolkit/internal/text/controller/text-controller-text-updater.h