[Tizen] Change the state of EventData to EDITING in RemoveText 95/221495/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 2 Jan 2020 10:00:02 +0000 (19:00 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 3 Jan 2020 04:57:23 +0000 (13:57 +0900)
commit84e9738cbc57003c196ec96cf1bb65287dbd7cc7
tree94a5af1fcfd148c4f1ec0933ef4594c32d5ecd58
parentdc1fc0c680e49688cd9e673dab5665e651266fde
[Tizen] Change the state of EventData to EDITING in RemoveText

- Currently, in certain cases, even if Backspace key is pressed
 after cursor blink is stopped, cursor blink does not restart and
 the cursor is also not shown.

- It means, after EventData is changed to INACTIVE state due to
 KeyboardFocusLostEvent(), StopCursorBlink() is called.
  After that, in RemoveText(), which is called in Backspace key,
 EventData cannot be changed to EDITING state and StartCursorBlink() is not called.
  On the other hand, when the character commits or the arrow keys are pressed,
 EventData is changed to EDITING state and the cursor is displayed on screen.

- So, added 'ChangeState( EventData::EDITING )' when the state is INACTIVE.

Change-Id: Ib79dfdc6f7308d084772f62dc49918a694cfc438
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-Controller.cpp
dali-toolkit/internal/text/text-controller.cpp